This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36688] [4.3/4.4 Regression] Incorrect struct assignments with nested const initializers
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 01:38:51 -0000
- Subject: [Bug c++/36688] [4.3/4.4 Regression] Incorrect struct assignments with nested const initializers
- References: <bug-36688-15329@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 01:38 -------
Confirmed, target independent.
> t_foo x = init_x;
This is getting compiled down to just x = {} for some reason inside the
gimplifier.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c |c++
Ever Confirmed|0 |1
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2008-08-11 01:38:50
date| |
Summary|Incorrect struct assignments|[4.3/4.4 Regression]
|with nested const |Incorrect struct assignments
|initializers |with nested const
| |initializers
Target Milestone|--- |4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36688