[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 11 10:19:45 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #24 from David Binderman <dcb314 at hotmail dot com> ---
Is this error message related ?
/home/dcb/gcc/results.20200611/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/xsaveoptintrin.h:55:9:
internal compiler error: Error: global_options are modified in local context
55 | #pragma GCC pop_options
| ^~~
0xe6fefe cl_optimization_compare(gcc_options*, gcc_options*)
/home/dcb/gcc/working/gcc/options-save.c:0
0x97c7b9 handle_pragma_pop_options(cpp_reader*)
../../trunk.git/gcc/c-family/c-pragma.c:1090
0x7a0565 cp_parser_pragma(cp_parser*, pragma_context, bool*)
../../trunk.git/gcc/cp/parser.c:43983
0x79d432 cp_parser_toplevel_declaration(cp_parser*)
../../trunk.git/gcc/cp/parser.c:13502
It seems to be a preprocessor crash, so I don't know how to reduce
the test case.
More information about the Gcc-bugs
mailing list