public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lawrence Crowl <crowl@google.com>
To: Jason Merrill <jason@redhat.com>
Cc: gcc-patches List <gcc-patches@gcc.gnu.org>,
	       Paolo Carlini <paolo.carlini@oracle.com>,
	       Gabriel Dos Reis <gdr@cs.tamu.edu>
Subject: Re: C++ PATCH for libstdc++/48760 (list-initialization of complex)
Date: Thu, 28 Apr 2011 06:51:00 -0000	[thread overview]
Message-ID: <BANLkTinP4onp7zvOmRmfx+OSz=ihBnBw2Q@mail.gmail.com> (raw)
In-Reply-To: <4DB8CAA2.6000402@redhat.com>

On 4/27/11, Jason Merrill <jason@redhat.com> wrote:
> On 04/27/2011 09:36 PM, Jason Merrill wrote:
>> A a = { 1, 2 };
>>
>> a.c is initialized to 1+0i rather than 1+2i as it has been previously,
>
> This should have said "a.c is initialized to 1+0i, as it has been
> previously, rather than 1+2i, as it would be if it were an aggregate".

This looks right to me.  It's more in line with C99.

-- 
Lawrence Crowl

  reply	other threads:[~2011-04-28  3:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28  1:51 Jason Merrill
2011-04-28  2:24 ` Gabriel Dos Reis
2011-04-28  3:14 ` Jason Merrill
2011-04-28  6:51   ` Lawrence Crowl [this message]
2011-04-28 10:51 ` Paolo Carlini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTinP4onp7zvOmRmfx+OSz=ihBnBw2Q@mail.gmail.com' \
    --to=crowl@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdr@cs.tamu.edu \
    --cc=jason@redhat.com \
    --cc=paolo.carlini@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).