Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++.moderated > #2578
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Dave Abrahams <dave@boostpro.com> |
| Newsgroups | comp.lang.c++.moderated |
| Subject | Re: Which compilers support GCC expression statements? |
| Date | Wed, 30 Nov 2011 12:31:15 -0800 (PST) |
| Organization | unknown |
| Lines | 37 |
| Sender | lang-cpp-request@vandevoorde.com |
| Approved | musiphil@bawi.org |
| Message-ID | <m2wrai81i8.fsf@boostpro.com> (permalink) |
| References | <fb5d7d56-7984-4611-8f5c-5b07283d70e3@cu3g2000vbb.googlegroups.com> |
| NNTP-Posting-Host | QpGXzuWJJPFbyti9gY4JlOFEsmB6Meyj1XNCeaW/tdQ= |
| Content-Type | text/plain; charset=utf-8 |
| X-Trace | news.albasani.net T2PFRYNw1OysAo+qOqkYejexGZW8UDOiC6ocKzvJZfA3XwOQbskt02sAG2W9lKO2EO/9218L3PAfex4tCTwfjA== |
| X-Complaints-To | abuse@albasani.net |
| NNTP-Posting-Date | Wed, 30 Nov 2011 20:31:18 +0000 (UTC) |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | lang-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:ND45F9j50g5+8lROkmzguttz/h8= |
| X-Original-Date | Wed, 30 Nov 2011 03:20:47 -0500 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++.moderated:2578 |
Show key headers only | View raw
on Wed Nov 30 2011, Lorenzo Caminiti <lorcaminiti-AT-gmail.com> wrote:
> Hello all,
>
> Do you know which compilers support GCC extension for "expression
> statements"?
> http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
>
> int x = ({
> int a = 10;
> a++;
> });
>
> I found this list online:
> http://stackoverflow.com/questions/6440021/compiler-support-of-gnu-statement-expression
>
> GCC >=3
> Intel C++ Compiler >=?
> Clang/LLVM >= ?
> Sun Studio >= 12 (New Language Extensions)
> IBM XL for z/OS (marked as IBM extension)
> Open64 (as it use osprey-gcc frontend)
> PathScale® EKOPath
>
> Any more? EDG? Comeau?
I believe Comeau and EDG must support it if Intel does; Intel and Comeau
both use an EDG front-end.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to comp.lang.c++.moderated | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Which compilers support GCC expression statements? Lorenzo Caminiti <lorcaminiti@gmail.com> - 2011-11-29 22:25 -0800
Re: Which compilers support GCC expression statements? Dave Abrahams <dave@boostpro.com> - 2011-11-30 12:31 -0800
Re: Which compilers support GCC expression statements? Miles Bader <miles@gnu.org> - 2011-12-02 22:38 -0800
Re: Which compilers support GCC expression statements? Arne Mertz <arnemertz@googlemail.com> - 2011-11-30 12:45 -0800
Re: Which compilers support GCC expression statements? Uwe Dolinsky <uwe@codeplay.com> - 2011-12-02 22:32 -0800
csiph-web