https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79284
Bug ID: 79284 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- This seems to be a recent regression. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.1 20170130 (experimental) [trunk revision 245020] (GCC) $ $ gcc-trunk -O2 -c small.c $ $ gcc-trunk -O3 -c small.c small.c: In function ‘fn1’: small.c:8:6: error: type mismatch in binary expression void fn1 (int p) ^~~ vector(4) <unnamed type> vector(4) <unnamed type> vector(16) unsigned char mask__5.10_9 = mask__3.9_16 ^ vect_cst__10; small.c:8:6: internal compiler error: verify_gimple failed 0xc6143f verify_gimple_in_cfg(function*, bool) ../../gcc-source-trunk/gcc/tree-cfg.c:5266 0xb35752 execute_function_todo ../../gcc-source-trunk/gcc/passes.c:1966 0xb36109 execute_todo ../../gcc-source-trunk/gcc/passes.c:2016 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. $ ------------------------------------- struct { unsigned a:1; } b; int c[5]; void fn1 (int p) { char e = 4, f; for (; e; e--) f = (c[e] && ~0) != b.a; while (1) fn1 (f); }