https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111899
Bug ID: 111899 Summary: [14 regression] GCC fails to bootstrap with 'ust-tree.cc:131:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fPIE -c -DDEF_GENTOO_SCP -DDEF_GENTOO_ZNOW -DEXTRA_OPTIONS -DGENTOO_FORTIFY_SOURCE_LEVEL=3 -DDEF_GENTOO_GLIBCXX_ASSERTIONS -DEXTRA_OPTIONS_CF -DIN_GCC_FRONTEND -m64 -pipe -march=native -fdiagnostics-color=always -ggdb3 -O2 -fno-checking -flto=jobserver -frandom-seed=1 -fcf-protection -fprofile-generate -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wno-unused-parameter -fno-common -DHAVE_CONFIG_H -fPIE -I. -Irust -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../include -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libcody -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libbacktrace -o rust/rust-tree.o -MT rust/rust-tree.o -MMD -MP -MF rust/.deps/rust-tree.TPo -m64 -pipe -march=native -fdiagnostics-color=always -ggdb3 -O2 -fno-checking -flto=jobserver -frandom-seed=1 -fcf-protection -fprofile-gener ate -flto=jobserver -frandom-seed=1 -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/lex -I /var/tmp/port age/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/parse -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/ast -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0. 9999/gcc/rust/analysis -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/expand -I /var/tmp/portag e/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/hir/tree -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/hir -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0 .9999/gcc/rust/resolve -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/util -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/typecheck -I /var/tmp/portag e/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/checks/lints -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/checks/errors -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/w ork/gcc-14.0.0.9999/gcc/rust/checks/errors/privacy -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/util -I /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/ metadata /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc: In function ‘void Rust::mark_exp_read(tree)’: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc:75:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope 75 | case NON_DEPENDENT_EXPR: | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc: In function ‘tree_node* Rust::mark_use(tree, bool, bool, location_t, bool)’: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc:131:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope 131 | case NON_DEPENDENT_EXPR: | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc: In function ‘cp_lvalue_kind Rust::lvalue_kind(const_tree)’: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/backend/rust-tree.cc:4523:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope 4523 | case NON_DEPENDENT_EXPR: | ^~~~~~~~~~~~~~~~~~ make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rust/Make-lang.in:379: rust/rust-tree.o] Error 1