https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961
Bug ID: 84961
Summary: internal compiler error: verify_ssa failed
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vegard.nossum at oracle dot com
CC: webrown.cpp at gmail dot com
Target Milestone: ---
Input:
short a;
volatile double b;
void c() { asm("" : "=a"(b = a)); }
Output:
$ cc1plus
void c()
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <build_ssa_passes>
<stdin>:3:35: error: SSA_NAME_DEF_STMT is wrong
Expected definition statement:
__asm__("" : "=a" _3);
Actual definition statement:
_3 = _2;
during GIMPLE pass: ssa
<stdin>:3:35: internal compiler error: verify_ssa failed
0x3d61773 verify_ssa(bool, bool)
/home/vegard/git/gcc/gcc/tree-ssa.c:1188
0x2b674cd execute_function_todo
/home/vegard/git/gcc/gcc/passes.c:2001
0x2b700f6 do_per_function
/home/vegard/git/gcc/gcc/passes.c:1659
0x2b700f6 execute_todo
/home/vegard/git/gcc/gcc/passes.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Version:
GNU C++14 (GCC) version 8.0.1 20180306 (experimental) (x86_64-pc-linux-gnu)