http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56992
Bug #: 56992 Summary: building Wine with -Og causes GCC to seg fault Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: jimpor...@gmail.com GCC seg faults when building Wine with -Og. The Wine developers pointed me at http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction which helped me reduce the problem down to the attached file (~14 lines). $ gcc -Og -c testcase-min.c testcase-min.c: In function ‘DnsHostnameToComputerNameA’: testcase-min.c:13:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. I'm using "gcc (GCC) 4.8.0 20130411 (prerelease)" as supplied by ArchLinux. My processor is an AMD Phenom(tm) II X4 955 For hints about how GCC was built, you can look for the configure line here: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gcc-multilib