http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60099
--- Comment #3 from David Kredba <nheghathivhistha at gmail dot com> --- Here it shows line number too. ./testcase.i:62:1: internal compiler error Going to attach original ii file. In check.sh I used in addition -I and -include that I deleted from the command before sending here, can it be that? x86_64-pc-linux-gnu-g++ -o nsDataHandler.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /var/tmp/portage/www-client/seamonkey-2.24/work/comm-release/mozilla/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -I/var/tmp/portage/www-client/seamonkey-2.24/work/comm-release/mozilla/netwerk/protocol/data/../../base/src -I/var/tmp/portage/www-client/seamonkey-2.24/work/comm-release/mozilla/netwerk/protocol/data -I. -I../../../dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -ggdb -pipe -march=native -mtune=native -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer -c ./testcase.i