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]
Other format: [Raw text]

[Bug c++/11891] New: [3.4 regression] ICE convert_like_real


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11891

           Summary: [3.4 regression] ICE convert_like_real
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mueller at kde dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu

Hi,  
 
triggered quite often, testcase: 
 
 
struct QDataStream 
{ 
    QDataStream &operator>>( int& i ); 
}; 
 
int main() 
{ 
    QDataStream s; 
    bool tagExists; 
 
    s >> int(tagExists) ; 
} 
 
 
gives 
$ g++ -v -Wall -W -pedantic -c cachedtag.cpp  
Reading specs from /opt/gcc/lib/gcc/i686-pc-linux-gnu/3.4/specs 
Configured with: ../configure --prefix=/opt/gcc --enable-c99 --enable-long-long 
--enable-shared --enable-threads --enable-languages=c,c++ 
Thread model: posix 
gcc version 3.4 20030809 (experimental) 
 
cachedtag.cpp: In function `int main()': 
cachedtag.cpp:12: internal compiler error: in convert_like_real, at cp/call.c: 
   4136 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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