From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 Description of problem: I am compiling some template code, I get an internal compiler error at: resolve_offset_ref at cp/init.c:1886 All it tells me after that is to submit a bug report Version-Release number of selected component (if applicable): 3.2.20020903 How reproducible: Always Steps to Reproduce: 1.compile my signal/slot driver 2.watch it die 3. Actual Results: duh, compiler dies Expected Results: compiled correctly, does on other platforms Additional info: get a tar ball from here: www.sci.utah.edu/~jmk/gcc/gccbug.tar once extracted, just type: gcc main.cpp
main.cpp in your tarball is just another tarball. Can you please run gcc main.cpp -save-temps and attach main.ii it creates instead? Also, can you try a newer compiler (such as the one shipped in RHL9, RHEL3 beta or rawhide)?
Hi, I tried it on 3.3 and got this "real" error: <snip> /home/sci/hartner/joe_new/arbeit/examples/signalTest/main.cpp: In function `int main(int, char**)': /home/sci/hartner/joe_new/arbeit/examples/signalTest/main.cpp:76: error: parenthesis around 'dummySlot::someSlot()' cannot be used to form a pointer-to-member-function <snip> I took out the "()"s and now it compiles fine on both 3.2... and 3.3. Do you still want -save-temps? ciao -joe
No, not really. It's a case of ice-on-invalid code that's been fixed in the current version of the compiler.