https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69903
--- Comment #2 from ktkachov at gcc dot gnu.org --- More complete stack trace: ice.c:7:23: internal compiler error: in add_stmt, at cp/semantics.c:385 volatile int x = i; ^ 0x772687 add_stmt(tree_node*) $TOP/gcc/cp/semantics.c:385 0x775891 finish_compound_stmt(tree_node*) $TOP/gcc/cp/semantics.c:1412 0x640498 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) $TOP/gcc/cp/pt.c:15233 0x684609 instantiate_decl(tree_node*, int, bool) $TOP/gcc/cp/pt.c:21945 0x68a9aa instantiate_pending_templates(int) $TOP/gcc/cp/pt.c:22064 0x6cd75f c_parse_final_cleanups() $TOP/gcc/cp/decl2.c:4599 0x879627 c_common_parse_file() $TOP/gcc/c-family/c-opts.c:1091 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.