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]

c++/501: egcs crash on std::std.flush()



>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:

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