http://qa.mandrakesoft.com/show_bug.cgi?id=5220

           Product: gcc-c++
         Component: program
           Summary: ICE in lookup_template_function at cp/pt.c:4005
           Product: gcc-c++
           Version: 3.3.1-2mdk
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Compiling some code with some partially specialized templates causes and ICE.  
The code itself may be incorrect in some way, but it shouldn't cause an ICE.  
  
Here is the appropriate info. I will attach the preprocessed source in just a  
moment (there doesn't seem to be a way to do it from this bugzilla screen).  
  
$ g++ -o test Convert.ii -v  
Reading specs from /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs  
Configured with: ../configure --prefix=/usr --libdir=/usr/lib  
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info  
--enable-shared --enable-threads=posix --disable-checking --enable-long-long  
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal  
--host=i586-mandrake-linux-gnu --with-system-zlib  
Thread model: posix  
gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)  
 /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/cc1plus -fpreprocessed  
Convert.ii -quiet -dumpbase Convert.ii -auxbase Convert -version -o  
/tmp/ccBkAw2p.s  
GNU C++ version 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk) (i586-mandrake-linux-gnu)  
        compiled by GNU C version 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk).  
GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=48162  
Convert.cpp:14: internal compiler error: in lookup_template_function, at  
cp/pt.c:4005  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <URL:https://qa.mandrakesoft.com/> for instructions. 
 
 
I also reported this to the GCC bugzilla: 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12146

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to