From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13509 invoked by alias); 3 Oct 2015 09:10:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13482 invoked by uid 48); 3 Oct 2015 09:10:07 -0000 From: "st.spamable at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67831] New: Internal error on complicated constexpr initialization. Date: Sat, 03 Oct 2015 09:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: st.spamable at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00236.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67831 Bug ID: 67831 Summary: Internal error on complicated constexpr initialization. Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: st.spamable at gmail dot com Target Milestone: --- Created attachment 36440 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36440&action=edit Preprocessed source tools/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-g++ -MT .obj/main.cpp.o -MMD -MP -MF .obj/main.Td -c -DDEVELOPER_VERSION -Iinclude -Wno-unused -g3 -O0 -std=c++11 -fno-exceptions -save-temps -v src/main.cpp -o .obj/main.cpp.o Using built-in specs. COLLECT_GCC=tools/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-g++ Target: arm-none-eabi Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-native --libexecdir=/home/build/work/GCC-4-9-build/install-native/lib --infodir=/home/build/work/GCC-4-9-build/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-native/arm-none-eabi --build=i686-linux-gnu --host=i686-linux-gnu --with-gmp=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-native/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r Thread model: single gcc version 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220] (GNU Tools for ARM Embedded Processors) COLLECT_GCC_OPTIONS='-MT' '.obj/main.cpp.o' '-MMD' '-MP' '-MF' '.obj/main.Td' '-c' '-D' 'DEVELOPER_VERSION' '-I' 'include' '-Wno-unused' '-g3' '-O0' '-std=c++11' '-fno-exceptions' '-save-temps' '-v' '-o' '.obj/main.cpp.o' /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/cc1plus -E -quiet -v -I include -iprefix /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/ -isysroot /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../arm-none-eabi -MMD .obj/main.cpp.d -MF .obj/main.Td -MP -MT .obj/main.cpp.o -dD -D__USES_INITFINI__ -D DEVELOPER_VERSION src/main.cpp -std=c++11 -Wno-unused -fno-exceptions -g3 -fworking-directory -O0 -fpch-preprocess -o main.ii ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3" ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/arm-none-eabi" ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/backward" ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/include" ignoring nonexistent directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../arm-none-eabi/usr/local/include" ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/include-fixed" ignoring duplicate directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include" ignoring nonexistent directory "/home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../arm-none-eabi/usr/include" #include "..." search starts here: #include <...> search starts here: include /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3 /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/arm-none-eabi /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/backward /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/include /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/include-fixed /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include End of search list. COLLECT_GCC_OPTIONS='-MT' '.obj/main.cpp.o' '-MMD' '-MP' '-MF' '.obj/main.Td' '-c' '-D' 'DEVELOPER_VERSION' '-I' 'include' '-Wno-unused' '-g3' '-O0' '-std=c++11' '-fno-exceptions' '-save-temps' '-v' '-o' '.obj/main.cpp.o' /home/tooma/proj/cnc/fw/nstm32f4/tools/gcc-arm-none-eabi-4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/cc1plus -fpreprocessed main.ii -quiet -dumpbase main.cpp -auxbase-strip .obj/main.cpp.o -g3 -O0 -Wno-unused -std=c++11 -version -fno-exceptions -o main.s GNU C++ (GNU Tools for ARM Embedded Processors) version 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220] (arm-none-eabi) compiled by GNU C version 4.7.4, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++ (GNU Tools for ARM Embedded Processors) version 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220] (arm-none-eabi) compiled by GNU C version 4.7.4, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 67ffeb4f308275707e0820985f703a94 src/main.cpp: In function 'void __static_initialization_and_destruction_0(int, int)': src/main.cpp:17:12: internal compiler error: in make_decl_rtl, at varasm.c:1223 const Task tasks[] = {