https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93229
Bug ID: 93229 Summary: simplify_count_trailing_zeroes doesn't compile on x86_64-pc-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org CC: wilco at gcc dot gnu.org Target Milestone: --- A pristine checkout of r280132 doesn't build for me on x86_64-pc-linux-gnu: ../../src/gcc/tree-ssa-forwprop.c: In function ‘bool simplify_count_trailing_zeroes(gimple_stmt_iterator*)’: ../../src/gcc/config/i386/i386.h:2886:30: error: cannot convert ‘poly_uint16’ {aka ‘poly_int<1, short unsigned int>’} to ‘long int’ in assignment 2886 | ((VALUE) = GET_MODE_BITSIZE (MODE), TARGET_BMI ? 1 : 0) | ~~~~~~~~~~~~~~~~~^~~~~~ | | | poly_uint16 {aka poly_int<1, short unsigned int>} ../../src/gcc/tree-ssa-forwprop.c:1925:22: note: in expansion of macro ‘CTZ_DEFINED_VALUE_AT_ZERO’ 1925 | bool zero_ok = CTZ_DEFINED_VALUE_AT_ZERO (TYPE_MODE (type), ctzval) == 2; | ^~~~~~~~~~~~~~~~~~~~~~~~~ I'm assuming this was introduced in r280132, as that commit introduced simplify_count_trailing_zeroes. Am using gcc-9.2.1-1.fc30.x86_64 to try to build stage 1.