This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Compiler Error 364
- To: egcs-bugs at cygnus dot com
- Subject: Internal Compiler Error 364
- From: Brian Osman <bosman at clariion dot com>
- Date: Tue, 14 Jul 1998 09:30:47 -0500
I'm not sure if this actually allowed in C++ (or if this has been
addressed in later snapshots, since I'm using gnu-win32 with 1.0.2) but
I got ICE 364 with the following code:
---
#include <vector>
int main()
{
vector<int &> v;
int x;
int &y = x;
v.push_back(y);
return 0;
}
---
The problem seems to be instantiating push_back with a reference type.
Keep up the good work!
-Brian