Hi! The recent change probably gave us this[1]:
g++ -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../../../gcc/gcc -I../../../../gcc/gcc/c-family -I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include -I../../../../gcc/gcc/../libdecnumber -I../../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../../gcc/gcc/../libbacktrace -o c-family/c-omp.o -MT c-family/c-omp.o -MMD -MP -MF c-family/.deps/c-omp.TPo ../../../../gcc/gcc/c-family/c-omp.c ../../../../gcc/gcc/c-family/c-omp.c: In function ‘void c_omp_split_clauses(location_t, tree_code, omp_clause_mask, tree, tree_node**)’: ../../../../gcc/gcc/c-family/c-omp.c:634:12: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_THREADS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:694:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(29))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_SCHEDULE)) ^ ../../../../gcc/gcc/c-family/c-omp.c:696:17: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(8))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 ^ ../../../../gcc/gcc/c-family/c-omp.c:732:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_THREADS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:734:17: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(21).omp_clause_mask::operator|(omp_clause_mask(1ul).omp_clause_mask::operator<<(8)))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & ((OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_TEAMS) ^ ../../../../gcc/gcc/c-family/c-omp.c:743:14: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(21))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 ^ ../../../../gcc/gcc/c-family/c-omp.c:754:18: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(21))’ from ‘omp_clause_mask’ to ‘bool’ else if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_TEAMS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:760:18: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(8))’ from ‘omp_clause_mask’ to ‘bool’ else if (mask & (OMP_CLAUSE_MASK_1 ^ ../../../../gcc/gcc/c-family/c-omp.c:780:17: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_THREADS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:787:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(29))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_SCHEDULE)) ^ ../../../../gcc/gcc/c-family/c-omp.c:792:17: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_THREADS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:809:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(21))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_TEAMS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:840:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(29))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_SCHEDULE)) ^ ../../../../gcc/gcc/c-family/c-omp.c:842:17: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(21))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_TEAMS)) ^ ../../../../gcc/gcc/c-family/c-omp.c:855:22: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ else if (mask & (OMP_CLAUSE_MASK_1 ^ ../../../../gcc/gcc/c-family/c-omp.c:868:13: error: could not convert ‘mask.omp_clause_mask::operator&(omp_clause_mask(1ul).omp_clause_mask::operator<<(22))’ from ‘omp_clause_mask’ to ‘bool’ if (mask & (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_NUM_THREADS)) ^ make[2]: *** [c-family/c-omp.o] Error 1 Seen first while building for mn10300-elf with g++ (Debian 4.8.1-7) 4.8.1. Probably just needs an overloaded bool-returning operator&. MfG, JBG [1] http://toolchain.lug-owl.de/buildbot/deliver_artifact.php?mode=view&id=44562 -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html the second :
signature.asc
Description: Digital signature