https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92767
Bug ID: 92767 Summary: [m68k]: Random ICE: verify_flow_info failed Product: gcc Version: 10.0 URL: https://buildd.debian.org/status/fetch.php?pkg=gcc-sna pshot&arch=m68k&ver=1%3A20191130-1&stamp=1575330554&ra w=0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: bernds at gcc dot gnu.org, schwab at gcc dot gnu.org Target Milestone: --- Target: m68k-*-* Trying a full bootstrap with gm2 enabled on m68k, the build fails with an internal compiler error: GCC_FOR_TARGET /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ bash ../../src/gcc/m2/tools-src/makeSystem -fpim \ ../../src/gcc/m2/gm2-libs/SYSTEM.def \ ../../src/gcc/m2/gm2-libs/SYSTEM.mod \ -I../../src/gcc/m2/gm2-libs \ "/<<PKGBUILDDIR>>/build/./gcc/xgm2 -B/<<PKGBUILDDIR>>/build/./gcc/" /<<PKGBUILDDIR>>/build/gcc/m2/gm2-libs/SYSTEM.def ../../src/gcc/m2/gm2-libs/SYSTEM.mod: In function 'ShiftVal': ../../src/gcc/m2/gm2-libs/SYSTEM.mod:89:1: error: verify_flow_info: Wrong count of block 23 89 | END ShiftVal ; | ^~~ ../../src/gcc/m2/gm2-libs/SYSTEM.mod:89:1: error: verify_flow_info: Wrong count of block 22 during RTL pass: outof_cfglayout ../../src/gcc/m2/gm2-libs/SYSTEM.mod:89:1: internal compiler error: verify_flow_info failed mmap: Permission denied Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions. But even with gm2 disabled, the issue shows at other places: ../../../src/libgomp/target.c: In function 'gomp_map_vars': ../../../src/libgomp/target.c:1052:1: error: verify_flow_info: Wrong count of block 110 1052 | } | ^ ../../../src/libgomp/target.c:1052:1: error: verify_flow_info: Wrong count of block 42 during RTL pass: expand ../../../src/libgomp/target.c:1052:1: internal compiler error: verify_flow_info failed mmap: Permission denied Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions. From: https://buildd.debian.org/status/fetch.php?pkg=gcc-snapshot&arch=m68k&ver=1%3A20190719-1&stamp=1563578948&raw=0 It seems the issue was introduced between r271016 and r271670 when comparing the Debian builds at: > https://buildd.debian.org/status/logs.php?pkg=gcc-snapshot&arch=m68k Last successful build with snapshot version (20190508, r271016) and first unsuccessful build with snapshot version (20190527, r271670). The issue is older than the MODE_CC conversion recently performed on the m68k backend. I will perform some more testing to find out whether this issue might be Debian-specific.