http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53602
--- Comment #2 from Andrew Benton <andy at benton dot eu.com> 2012-06-07 15:26:13 UTC --- Genius idea! Unfortunately the preprocessor output skeletoncommon.ii is more than 2MB and so I can't attach it to this bug. I've put it here http://benton.eu.com/skeletoncommon.ii The command that produced it was: andy@router:~$ cd /home/andy/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker andy@router:~/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker$ g++ -v -save-temps -fmessage-length=0 -c -Os -I. -I../../unxlngi6.pro/inc/uno-skeletonmaker -I../inc -I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I. -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/stl -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/external -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc -I/home/andy/libreoffice-core-3.5.4.2/solenv/inc/unxlngi6 -I/home/andy/libreoffice-core-3.5.4.2/solenv/inc -I/home/andy/libreoffice-core-3.5.4.2/res -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/udkapi -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/offapi -I/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/oovbaapi -I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -std=c++0x -Wno-deprecated-declarations -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DINTEL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.7.1 -DSUPD=350 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DHAVE_THREADSAFE_STATICS -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxlngi6.pro/obj/skeletoncommon.o /home/andy/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker/skeletoncommon.cxx g++: warning: -pipe ignored because -save-temps specified Using built-in specs. COLLECT_GCC=g++ Target: i686-pc-linux-gnu Configured with: ../gcc-4.7-30-05-12/configure --prefix=/usr --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-__cxa_atexit --enable-cloog-backend=isl --enable-clocale=gnu --disable-multilib --disable-bootstrap --disable-static --with-system-zlib Thread model: posix gcc version 4.7.1 20120530 (prerelease) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-fmessage-length=0' '-c' '-Os' '-I' '.' '-I' '../../unxlngi6.pro/inc/uno-skeletonmaker' '-I' '../inc' '-I' '../../inc' '-I' '../../unx/inc' '-I' '../../unxlngi6.pro/inc' '-I' '.' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/stl' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/external' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc' '-I' '/home/andy/libreoffice-core-3.5.4.2/solenv/inc/unxlngi6' '-I' '/home/andy/libreoffice-core-3.5.4.2/solenv/inc' '-I' '/home/andy/libreoffice-core-3.5.4.2/res' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/udkapi' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/offapi' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/oovbaapi' '-I' '.' '-I' '../../res' '-I' '.' '-pipe' '-mtune=pentiumpro' '-fvisibility-inlines-hidden' '-std=c++11' '-Wno-deprecated-declarations' '-Wall' '-Wextra' '-Wendif-labels' '-Wshadow' '-Wno-ctor-dtor-privacy' '-Wno-non-virtual-dtor' '-D' 'LINUX' '-D' 'UNX' '-D' 'VCL' '-D' 'GCC' '-D' 'INTEL' '-D' 'GLIBC=2' '-D' '_PTHREADS' '-D' '_REENTRANT' '-D' 'NEW_SOLAR' '-D' '_USE_NAMESPACE=1' '-D' 'HAVE_GCC_VISIBILITY_FEATURE' '-D' 'X86' '-D' '__DMAKE' '-D' 'UNIX' '-D' 'CPPU_ENV=gcc3' '-D' 'GXX_INCLUDE_PATH=/usr/include/c++/4.7.1' '-D' 'SUPD=350' '-D' 'PRODUCT' '-D' 'NDEBUG' '-D' 'OSL_DEBUG_LEVEL=0' '-D' 'OPTIMIZE' '-D' 'GSTREAMER' '-D' 'HAVE_THREADSAFE_STATICS' '-fexceptions' '-fno-enforce-eh-specs' '-D' 'EXCEPTIONS_ON' '-o' '../../unxlngi6.pro/obj/skeletoncommon.o' '-shared-libgcc' '-march=pentiumpro' /usr/libexec/gcc/i686-pc-linux-gnu/4.7.1/cc1plus -E -quiet -v -I . -I ../../unxlngi6.pro/inc/uno-skeletonmaker -I ../inc -I ../../inc -I ../../unx/inc -I ../../unxlngi6.pro/inc -I . -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/stl -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/external -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc -I /home/andy/libreoffice-core-3.5.4.2/solenv/inc/unxlngi6 -I /home/andy/libreoffice-core-3.5.4.2/solenv/inc -I /home/andy/libreoffice-core-3.5.4.2/res -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/udkapi -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/offapi -I /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/oovbaapi -I . -I ../../res -I . -D_GNU_SOURCE -D LINUX -D UNX -D VCL -D GCC -D INTEL -D GLIBC=2 -D _PTHREADS -D _REENTRANT -D NEW_SOLAR -D _USE_NAMESPACE=1 -D HAVE_GCC_VISIBILITY_FEATURE -D X86 -D __DMAKE -D UNIX -D CPPU_ENV=gcc3 -D GXX_INCLUDE_PATH=/usr/include/c++/4.7.1 -D SUPD=350 -D PRODUCT -D NDEBUG -D OSL_DEBUG_LEVEL=0 -D OPTIMIZE -D GSTREAMER -D HAVE_THREADSAFE_STATICS -D EXCEPTIONS_ON /home/andy/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker/skeletoncommon.cxx -mtune=pentiumpro -march=pentiumpro -std=c++11 -Wno-deprecated-declarations -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fmessage-length=0 -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -Os -fpch-preprocess -o skeletoncommon.ii ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../i686-pc-linux-gnu/include" ignoring nonexistent directory "../../unxlngi6.pro/inc/uno-skeletonmaker" ignoring nonexistent directory "../inc" ignoring nonexistent directory "../../unx/inc" ignoring duplicate directory "." ignoring nonexistent directory "/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/stl" ignoring nonexistent directory "/home/andy/libreoffice-core-3.5.4.2/solenv/inc/unxlngi6" ignoring nonexistent directory "/home/andy/libreoffice-core-3.5.4.2/res" ignoring duplicate directory "." ignoring nonexistent directory "../../res" ignoring duplicate directory "." #include "..." search starts here: #include <...> search starts here: . ../../inc ../../unxlngi6.pro/inc /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/external /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc /home/andy/libreoffice-core-3.5.4.2/solenv/inc /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/udkapi /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/offapi /home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/oovbaapi /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1 /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/i686-pc-linux-gnu /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../include/c++/4.7.1/backward /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include /usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-fmessage-length=0' '-c' '-Os' '-I' '.' '-I' '../../unxlngi6.pro/inc/uno-skeletonmaker' '-I' '../inc' '-I' '../../inc' '-I' '../../unx/inc' '-I' '../../unxlngi6.pro/inc' '-I' '.' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/stl' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/external' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc' '-I' '/home/andy/libreoffice-core-3.5.4.2/solenv/inc/unxlngi6' '-I' '/home/andy/libreoffice-core-3.5.4.2/solenv/inc' '-I' '/home/andy/libreoffice-core-3.5.4.2/res' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/udkapi' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/offapi' '-I' '/home/andy/libreoffice-core-3.5.4.2/solver/unxlngi6.pro/inc/oovbaapi' '-I' '.' '-I' '../../res' '-I' '.' '-pipe' '-mtune=pentiumpro' '-fvisibility-inlines-hidden' '-std=c++11' '-Wno-deprecated-declarations' '-Wall' '-Wextra' '-Wendif-labels' '-Wshadow' '-Wno-ctor-dtor-privacy' '-Wno-non-virtual-dtor' '-D' 'LINUX' '-D' 'UNX' '-D' 'VCL' '-D' 'GCC' '-D' 'INTEL' '-D' 'GLIBC=2' '-D' '_PTHREADS' '-D' '_REENTRANT' '-D' 'NEW_SOLAR' '-D' '_USE_NAMESPACE=1' '-D' 'HAVE_GCC_VISIBILITY_FEATURE' '-D' 'X86' '-D' '__DMAKE' '-D' 'UNIX' '-D' 'CPPU_ENV=gcc3' '-D' 'GXX_INCLUDE_PATH=/usr/include/c++/4.7.1' '-D' 'SUPD=350' '-D' 'PRODUCT' '-D' 'NDEBUG' '-D' 'OSL_DEBUG_LEVEL=0' '-D' 'OPTIMIZE' '-D' 'GSTREAMER' '-D' 'HAVE_THREADSAFE_STATICS' '-fexceptions' '-fno-enforce-eh-specs' '-D' 'EXCEPTIONS_ON' '-o' '../../unxlngi6.pro/obj/skeletoncommon.o' '-shared-libgcc' '-march=pentiumpro' /usr/libexec/gcc/i686-pc-linux-gnu/4.7.1/cc1plus -fpreprocessed skeletoncommon.ii -quiet -dumpbase skeletoncommon.cxx -mtune=pentiumpro -march=pentiumpro -auxbase-strip ../../unxlngi6.pro/obj/skeletoncommon.o -Os -Wno-deprecated-declarations -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -std=c++11 -version -fmessage-length=0 -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -o skeletoncommon.s GNU C++ (GCC) version 4.7.1 20120530 (prerelease) (i686-pc-linux-gnu) compiled by GNU C version 4.7.1 20120530 (prerelease), GMP version 5.0.4, MPFR version 3.1.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++ (GCC) version 4.7.1 20120530 (prerelease) (i686-pc-linux-gnu) compiled by GNU C version 4.7.1 20120530 (prerelease), GMP version 5.0.4, MPFR version 3.1.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a3f5e158f4bae53c28ca78d37dcc6e13 /home/andy/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker/skeletoncommon.cxx: In function ‘void skeletonmaker::checkDefaultInterfaces(boost::unordered::unordered_set<rtl::OString, rtl::OStringHash>&, const boost::unordered::unordered_set<rtl::OString, rtl::OStringHash>&, const rtl::OString&)’: /home/andy/libreoffice-core-3.5.4.2/unodevtools/source/skeletonmaker/skeletoncommon.cxx:317:1: internal compiler error: in force_move_args_size_note, at combine-stack-adj.c:419 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I hope that makes sense to someone...