http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56851
Bug #: 56851 Summary: Segmentation Error using -O3 optimization Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@jbeidl.com Created attachment 29810 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29810 GCC Configuration, Output error and sensor.i file internal compiler error: Segmentation fault building sensor.c I have attached a zip file thta includes the GCC configuration, compiler output log and the sensor.i file. I am using CooCox CoIDE 1.7.1 to edit, build and debug. This error only happens with -O3, all other levels of optimization work fine. I plan to use -Os, I was just trying to compare final build sizes. If additional information is need, please advise.