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


Index Nav: [Date Index] [<ef="subjects.html#01664">Subject Index] [Author Index] [Thread Index]
Message Nav: [DjĀ:nb;Prev]&n/A>] [Thread PrevThread Next]

c++/2080: g++ runs out of memory if reference parameter is initialized with 0



>Number:     2080
>Category:       c++
>Synopsis:       g++ runs out of memory if reference parameter is initialized with 0
>idential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:        en
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 24 06:56:01 PST 2001
>Closate:
>Last-Modified:
>Originator:     Stefan Vogtner
>Release:        gcc version 2.95.2 19991024 (release)
>Orgation:
>Environment:
Linux client0 2.2.13 #11 Son Jan 21 17:58:52 CET 2001 i686 unknown
>Description:
bash-2.03$ g++ gug-2001-02-24.01.cc 
g++: Internal compiler error: program cc1plus got fatal signal 
>How-To-Repeat:
#include <vector&using namespace std;
class V {
public:
   V (int i, const V &rhs = 0)
   { }
};
int main ()
{
   vector<V> v;
   vh_back (V (0));
   return 0;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Autnbsp;Index] [Thread Index]
Message Nav:> [Date Prev] [Date Next] [<EF="msg01662.html">Thread Prev] [Thread Next]