From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: Compiler error when using -O or higher: [gert@viper tmp]$ gcc -g -march=pentium3 -std=c99 invert_image.c [gert@viper tmp]$ gcc -g -O -march=pentium3 -std=c99 invert_image.c invert_image.c: In function `invert_image_mmx': invert_image.c:26: Internal compiler error in find_reloads_toplev, at reload.c:4439 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. [gert@viper tmp]$ Version-Release number of selected component (if applicable): gcc-3.2.2-5 How reproducible: Always Steps to Reproduce: 1. gcc -g -O -march=pentium3 -std=c99 invert_image.c 2. 3. Actual Results: [gert@viper tmp]$ gcc -g -O -march=pentium3 -std=c99 invert_image.c invert_image.c: In function `invert_image_mmx': invert_image.c:26: Internal compiler error in find_reloads_toplev, at reload.c:4439 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. [gert@viper tmp]$ Expected Results: [gert@viper tmp]$ gcc -g -march=pentium3 -std=c99 invert_image.c [gert@viper tmp]$ Additional info:
Created attachment 99495 [details] C program used to reproduce the bug
Seems to work fine with gcc-3.3.2-1 (FC1).