Article View: gnu.gcc.bug
Article #6234abit a bug in c++
From: Alberto Santini
Date: Wed, 17 Jan 1996 00:00
Date: Wed, 17 Jan 1996 00:00
38 lines
1451 bytes
1451 bytes
Hello,
I send you an example of C++ code. I think it is a bug.
I use GNU CC release 2.7.2 on OS/2 3.0 (WARP - FIX XR_W010)
with the porting EMX release 0.9b FIX 0.1.
I compile test1.cc on my 486/25MHz with 8Mb in 1.16 minutes
with the command line
gcc -c test1.cc
--------------------------- test1.cc -----------------------------------
#include <map.h>
int main() {
map<int, char, less<int> > m1;
}
------------------------------------------------------------------------
While the command
gcc -c bug3.cc
is endless; the compiling command doesn't return to the prompt and
the disk works every time. I let GCC working for 1 hour and it didn't
return.
--------------------------- bug3.cc ------------------------------------
#include <map.h>
int main() {
map<int, int, less<int> > m1;
map<char, int, less<char> > m2;
}
------------------------------------------------------------------------
Thanks in advance,
Alberto ( alberto@prix3.fis.unipr.it )
Technical Details
Message-ID:
<9601171732.AA13894@prix3.fis.unipr.it._prix3.fis.unipr.it>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,d93acef6936d5ada,start X-Google-Attributes: gid113d02,public From: alberto@prix3.fis.unipr.it (Alberto Santini) Subject: abit a bug in c++ Date: 1996/01/17 Message-ID: <9601171732.AA13894@prix3.fis.unipr.it._prix3.fis.unipr.it> X-Deja-AN: 135559838 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.bug