http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56396
Bug #: 56396 Summary: [4.8 Regression] memory corruption in cc1 Classification: Unclassified Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: d...@gcc.gnu.org Created attachment 29495 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29495 preprocessed source seen on a x86_64 system with glibc-2.17. seen with trunk 20130217, works with the 4.7 branch. Lowering to -O1 or -O0 avoids the issue. $ gcc -fPIC -g -O2 -c subscribe.i subscribe.c: In function 'reply_421': subscribe.c:286:5: internal compiler error: Aborted int reply_421(struct sip_msg* msg) ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. *** Error in `/usr/lib/gcc/x86_64-linux-gnu/4.8/cc1': double free or corruption (!prev): 0x000000000331e4c0 *** *** Error in `/usr/lib/gcc/x86_64-linux-gnu/4.8/cc1': malloc(): memory corruption: 0x000000000331f210 ***