seen with trunk 20210102 on x86_64-linux-gnu, with precompiled header files. I didn't yet try to build without pch. https://launchpad.net/ubuntu/+archive/test-rebuild-20201216-hirsute-gcc11/+build/20603751 0xc0b77e handle_pragma_pop_options ../../src/gcc/c-family/c-pragma.c:1092 0x1805b43 cp_parser_pragma ../../src/gcc/cp/parser.c:45059 0x17e46d8 cp_parser_toplevel_declaration ../../src/gcc/cp/parser.c:14093 0x17e46d8 cp_parser_translation_unit ../../src/gcc/cp/parser.c:4936 0x17e46d8 c_parse_file() ../../src/gcc/cp/parser.c:45118 0x17c602a c_common_parse_file() ../../src/gcc/c-family/c-opts.c:1211 Please submit a full bug report, with preprocessed source if appropriate.
Created attachment 49890 [details] Build log I tried building that on openSUSE Tumbleweed with GCC 11 and it seems fine. Please take a look at the build log.
waiting for testcase
Does the problem persist?
can't reproduce this anymore with trunk 20210404.