From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Description of problem: I get a compiler internal error in attempting to compile a file of which the preprocessed form will be attached. Please refer to the attachment for compiler command line, error message, and input. Error is reported as Internal compiler error in print_rtl_and_abort Error depends on the program having declared a function which returns a function with a variable argument list: void (*(myFct(const char* name, int line)))(const char* format, ...); but there seems to be some complex interactions involved I'm running gcc3 3.0.4 on RedHat Linux 7.2 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Clip source file from attachment and save 2. g++3 -c -x c++ -fPIC -O3 -o foo.o <source file> 3. Actual Results: "Internal compiler error" message detailed above Expected Results: Compiler should have given me a ton of error messages, most likely :-( Additional info:
Created attachment 88424 [details] problem description, command line, and preprocesser output
Works ok with g++ 3.2 in 8.0