[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #4 from Andrew Pinski --- Yep # if __WORDSIZE == 64 # define __FD_ZERO_STOS "stosq" # else # define __FD_ZERO_STOS "stosl" # endif # define __FD_ZERO(fdsp) \ do {

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #3 from Andrew Pinski --- Looks like x86 has a special select.h in glibc :).

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 --- Comment #2 from Andrew Pinski --- Works for me on aarch64-linux-gnu with: GNU C++14 (GCC) version 7.0.0 20160717 (experimental) (aarch64-unknown-linux-gnu) Maybe provide a preprocessed source which fails. For me it expands to: # 6 "t.c" 3 4

[Bug c++/71946] FD_ZERO macro parsing error in lambda function.

2016-07-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946 Martin Liška changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIR