From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2FA3A385043C; Sun, 4 Oct 2020 11:27:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2FA3A385043C From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97284] New: internal compiler error: 'global_options' are modified in local context Date: Sun, 04 Oct 2020 11:27:53 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2020 11:27:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97284 Bug ID: 97284 Summary: internal compiler error: 'global_options' are modified in local context Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- This happens when I build qtbase. /usr/local/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/pmmintrin.h:129:9: internal compiler error: 'global_options' are modified in local context 129 | #pragma GCC pop_options | ^~~ g++ -c -include .pch/Qt5Core -pipe -O3 -std=3Dc++1z -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wall -Wextra -Wvla -Wdate-time -Wshift-overflo= w=3D2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESP= ACE -DQT_NO_FOREACH -DQFLOAT16_INCLUDE_FAST -DELF_INTERPRETER=3D\"/lib64/ld-linux-x86-64.so.2\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_= QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=3D= 0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/corelib -I. -Iglobal -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/md5 -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/md4 -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/sha3 -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/double-conver= sion/include -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/harfbuzz/src -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/forkfd -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/3rdparty/tinycbor/src -I.rcc -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include/QtCore -I../../inc= lude -I../../include/QtCore -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include/QtCore/5.15.1 -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include/QtCore/5.15.1/QtCo= re -I../../include/QtCore/5.15.1 -I../../include/QtCore/5.15.1/QtCore -I.moc -I.tracegen -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/mkspecs/linux-g++ -o .obj/qrunnable.o /home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/corelib/thread/qrunnable= .cpp 0xa28421 cp_parser_pragma ../../gcc/gcc/cp/parser.c:44093 0xa28421 cp_parser_pragma ../../gcc/gcc/cp/parser.c:44093 0xa5957b cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4793 0xa5957b cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4793 0xa5957b c_parse_file() ../../gcc/gcc/cp/parser.c:44152 0xa5957b c_parse_file() ../../gcc/gcc/cp/parser.c:44152 0xb76cdd c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1188 0xb76cdd c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1188 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[2]: *** [Makefile:22373: .obj/qendian.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:22979: .obj/qfloat16.o] Error 1 0xf75bdb cl_optimization_compare(gcc_options*, gcc_options*) /home/cqwrteur/myhome/gcc_build/gcc/options-save.c:11304 0xb790dd handle_pragma_pop_options ../../gcc/gcc/c-family/c-pragma.c:1093 0xa28421 cp_parser_pragma ../../gcc/gcc/cp/parser.c:44093 0xa5957b cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4793 0xa5957b c_parse_file() ../../gcc/gcc/cp/parser.c:44152 0xb76cdd c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1188 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[2]: *** [Makefile:23464: .obj/qrandom.o] Error 1 In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/immintrin.h:33, from /home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include/QtCore/5.15.1/QtCore= /private/../../../../../src/corelib/tools/qsimd_p.h:191, from /home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/include/QtCore/5.15.1/QtCore= /private/qsimd_p.h:1, from /home/cqwrteur/qt/qtbase-everywhere-src-5.15.1/src/corelib/global/qlogging.= cpp:61: /usr/local/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/pmmintrin.h:129:9: internal compiler error: 'global_options' are modified in local context 129 | #pragma GCC pop_options | ^~~ 0xf75bdb cl_optimization_compare(gcc_options*, gcc_options*) /home/cqwrteur/myhome/gcc_build/gcc/options-save.c:11304 0xb790dd handle_pragma_pop_options ../../gcc/gcc/c-family/c-pragma.c:1093 0xa28421 cp_parser_pragma ../../gcc/gcc/cp/parser.c:44093 0xa5957b cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4793 0xa5957b c_parse_file() ../../gcc/gcc/cp/parser.c:44152 0xb76cdd c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1188 Please submit a full bug report,=