public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/32245] [4.1/4.2/4.3 Regression] wrong POD type initialization with pointer to member
Date: Fri, 08 Jun 2007 10:37:00 -0000 [thread overview]
Message-ID: <20070608103652.10041.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32245-10812@http.gcc.gnu.org/bugzilla/>
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-08 10:36 -------
Confirmed.
{
struct foo x = {.mem1=0, .mem2=-1};
<<cleanup_point struct foo x = {.mem1=0, .mem2=-1};>>;
<<cleanup_point <<< Unknown tree: expr_stmt
bar (x.mem2 == (TARGET_EXPR <D.2011, {}>).mem2) >>>
>>;
return <retval> = 0;
}
2.95 used zero for .mem2 initialization.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |3.3.6 4.1.2 4.2.0
Known to work| |2.95.4
Last reconfirmed|0000-00-00 00:00:00 |2007-06-08 10:36:51
date| |
Summary|wrong POD type |[4.1/4.2/4.3 Regression]
|initialization with pointer |wrong POD type
|to member |initialization with pointer
| |to member
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32245
next prev parent reply other threads:[~2007-06-08 10:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 13:37 [Bug c++/32245] New: wrong POD type initialization s__nakayama at infoseek dot jp
2007-06-08 10:37 ` rguenth at gcc dot gnu dot org [this message]
2007-06-30 9:15 ` [Bug c++/32245] [4.1/4.2/4.3 Regression] wrong POD type initialization with pointer to member pinskia at gcc dot gnu dot org
2007-07-04 3:24 ` mmitchel at gcc dot gnu dot org
2007-07-04 19:02 ` mmitchel at gcc dot gnu dot org
2007-07-06 1:24 ` mmitchel at gcc dot gnu dot org
2007-07-06 1:37 ` [Bug c++/32245] [4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-07-07 2:03 ` mmitchel at gcc dot gnu dot org
2007-07-07 2:05 ` [Bug c++/32245] [4.1 " mmitchel at gcc dot gnu dot org
2007-11-30 10:43 ` aaw at gcc dot gnu dot org
2007-11-30 10:49 ` rguenth at gcc dot gnu dot org
2008-07-04 16:08 ` jsm28 at gcc dot gnu dot org
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=20070608103652.10041.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/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).