Native X10 can not currently be compiled from source using the Intel C++ compiler (icc) due to compatibility problems with some of the generated code.
The main problem seems to be around statement expressions:
This is a known compatibility issue with GNU statement expressions and icc http://software.intel.com/en-us/articles/cdiag1487/ and doesn't appear likely to be fixed.
How difficult is it to avoid the use of this sort of statement expression? In this particular case, the statement expression:
could probably be replaced with
However this is a simple case, so it may not be easy to generalise it for all applications.