This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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 jbglaw@lug-owl.de +49-172-7608481
Signature of: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
the second :
Attachment:
signature.asc
Description: Digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |