Hi Dave,
Thanks for your help! It did work with icc and FCCPx.
Regards,
--yoshiki
On 2013/05/02, at 21:42, David P Grove <[email protected]> wrote:
> Yoshiki SATO <[email protected]> wrote on 05/01/2013 11:22:06 PM:
> >
> > Hello all,
> >
> > x10c++ generates a code including statement expressions in which an
> > object with a destructor is used. Unfortunately, branching out of
> > the statement due to the destructor is not allowed by most of C++
> > compilers such as Intel icc, Fujitsu FCCpx although g++ can compile it.
> >
> ....omitted code...
> >
> > I get the following errors by using both Intel and fujitsu C++ compilers.
> >
> ...omitted errors...
> >
> > Of course manually transforming statement expressions into a set of
> > statements can resolve that. Is there any configuration or compile
> > option to disable the use of statement expressions in x10c++ 2.3.
> >
>
> Yes. You if you invoke x10c++ with -FLATTEN_EXPRESSIONS=true the X10
> compiler will avoid the use of statement expressions.
>
> This comes at the cost of introducing lots of temporary local variables (to
> hold intermediate expressions). In principle this should not be a problem,
> as the C++ compiler should be able to optimize all of them away. We have
> observed it causing some degradations with older versions of g++ (which is
> why it is not the default), but hopefully this won't impact icc or FCCpx.
>
> regards,
>
> --dave
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1_______________________________________________
> X10-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users