This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/501: egcs crash on std::std.flush()
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/501: egcs crash on std::std.flush()
- From: electro at alpha dot ece dot ucsb dot edu
- Date: 1 Sep 2000 00:50:24 -0000
- Reply-To: electro at alpha dot ece dot ucsb dot edu
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, electro@alpha.ece.ucsb.edu
>Number: 501
>Category: c++
>Synopsis: egcs crash on std::std.flush()
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 31 17:56:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Ahmi Wolf
>Release: egcs-2.91.66
>Organization:
>Environment:
Redhat Linux 6.2 (Zoot) on x86 pentium Dell Optiplex GX1p
>Description:
I got a compiler message:
Internal Compile Error
please submit bug report
when I accidentally typed std::std.flush() instead of
std::cout.flush() (see code below)
You can get this error by compiling this program with a
simple g++ test.cpp where test.cpp is:
#include <iostream>
int main( void )
{
std::cout << "Testing compile error...";
std::std.flush(); //works with std::cout.flush()
return 0;
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: