https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78548
Zhendong Su <su at cs dot ucdavis.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |su at cs dot ucdavis.edu --- Comment #2 from Zhendong Su <su at cs dot ucdavis.edu> --- I can still reproduce it with r242892 with "-Wall -w -O3 -m64". Interestingly, without "-m64", GCC hangs, instead of crashing. $ 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.0/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.0 20161127 (experimental) [trunk revision 242892] (GCC) $ $ gcc-trunk -Wall -w -O3 -m64 small.c *** Error in `/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/cc1': double free or corruption (fasttop): 0x00000000038273b0 *** small.c: In function ‘main’: small.c:6:5: internal compiler error: Aborted int main ( ) { ^~~~ 0xbfe10f crash_signal ../../gcc-source-trunk/gcc/toplev.c:333 0xe1c630 xcallocator<gimple*>::data_free(gimple**) ../../gcc-source-trunk/gcc/hash-table.h:273 0xe1c630 ~hash_table ../../gcc-source-trunk/gcc/hash-table.h:627 0xe1c630 ~hash_set ../../gcc-source-trunk/gcc/hash-set.h:25 0xe1c630 find_def_preds ../../gcc-source-trunk/gcc/tree-ssa-uninit.c:775 0xe1c630 is_use_properly_guarded ../../gcc-source-trunk/gcc/tree-ssa-uninit.c:2375 0xe1da0a find_uninit_use ../../gcc-source-trunk/gcc/tree-ssa-uninit.c:2434 0xe1da0a warn_uninitialized_phi ../../gcc-source-trunk/gcc/tree-ssa-uninit.c:2504 0xe1da0a execute ../../gcc-source-trunk/gcc/tree-ssa-uninit.c:2612 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. $