https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120042
Bug ID: 120042 Summary: [16] RISC-V: stage1 fails to build with error: ‘dominated_by_p’ was not declared in this scope in tree-vectorizer.h Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ewlu at rivosinc dot com Target Milestone: --- Postcommit is failing to build stage1 with error In file included from ../../../gcc/gcc/config/riscv/riscv-vector-costs.cc:38: ../../../gcc/gcc/tree-vectorizer.h: In function ‘_stmt_vec_info* get_later_stmt(stmt_vec_info, stmt_vec_info)’: ../../../gcc/gcc/tree-vectorizer.h:1885:28: error: ‘CDI_DOMINATORS’ was not declared in this scope 1885 | else if (dominated_by_p (CDI_DOMINATORS, | ^~~~~~~~~~~~~~ https://github.com/patrick-rivos/gcc-postcommit-ci/issues/3053 Ran on r15-9863-g3584aab37f5 and problem persists Believe it's caused by r15-9859-ga6cfde60d8c config command: $ /scratch/ewlu/ci/triage/baseline/build/../gcc/configure --target=riscv64-unknown-linux-gnu --prefix=/scratch/ewlu/ci/triage/baseline/build --with-sysroot=/scratch/ewlu/ci/triage/baseline/build/sysroot --with-newlib --without-headers --disable-shared --disable-threads --with-system-zlib --enable-tls --enable-languages=c --disable-libatomic --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-bootstrap --src=../../gcc --enable-multilib --with-abi=lp64d --with-arch=rv64imafdc --with-tune=rocket --with-isa-spec=20191213 CFLAGS_FOR_TARGET=-O2 -mcmodel=medlow CXXFLAGS_FOR_TARGET=-O2 -mcmodel=medlow