Description of problem: When using g++ to compile a simple aio test program, I receive the following error: ]$ g++ -o aiotest aiotest.c -laio aiotest.c: In function `int __io_getevents_0_4(io_context*, long int, long int, io_event*, timespec*)': aiotest.c:35: Internal compiler error in instantiate_virtual_regs_1, at function.c:4128 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Preprocessed source stored into /tmp/ccT3765P.out file, please attach this to your bugreport. This happens for ia64, ppc64, s390 and s390x. x86 and x86_64 do not suffer from this problem. Version-Release number of selected component (if applicable): $ rpm -q gcc gcc-3.2.3-54 I've attached the file requested by the compiler error text. I'll also attach a reproducer .c and .h file.
Created attachment 129490 [details] pre-processor output
Created attachment 129491 [details] test program which elicits the problem behaviour
Created attachment 129493 [details] required .h file for the reproducer program
I'm a knucklehead. I forgot that the test code I provided had x86 assembly!