public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array
@ 2010-04-11 17:59 fabien dot chene at gmail dot com
2010-04-11 18:05 ` [Bug c++/43719] " fabien dot chene at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: fabien dot chene at gmail dot com @ 2010-04-11 17:59 UTC (permalink / raw)
To: gcc-bugs
struct A
{
int const i;
};
void f ()
{
A a; // not accepted: OK
A aa[ 1 ]; // incorrectly accepted
}
--
Summary: uninitialized const member incorrectly accepted, using
an array
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fabien dot chene at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
@ 2010-04-11 18:05 ` fabien dot chene at gmail dot com
2010-04-11 19:23 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: fabien dot chene at gmail dot com @ 2010-04-11 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from fabien dot chene at gmail dot com 2010-04-11 18:04 -------
related to PR 25811.
Mine. (it should be great if someone could grant me the access to the 'assign
bug' checkbox).
--
fabien dot chene at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.4.3 4.3.4 4.2.4 4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
2010-04-11 18:05 ` [Bug c++/43719] " fabien dot chene at gmail dot com
@ 2010-04-11 19:23 ` rguenth at gcc dot gnu dot org
2010-04-12 11:09 ` redi at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-11 19:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-11 19:23 -------
Use a bugzilla account with your @gcc.gnu.org address.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fabien dot chene at gmail
|dot org |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
2010-04-11 18:05 ` [Bug c++/43719] " fabien dot chene at gmail dot com
2010-04-11 19:23 ` rguenth at gcc dot gnu dot org
@ 2010-04-12 11:09 ` redi at gcc dot gnu dot org
2010-04-14 13:34 ` fabien dot chene at gmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-04-12 11:09 UTC (permalink / raw)
To: gcc-bugs
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-04-12 11:09:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
` (2 preceding siblings ...)
2010-04-12 11:09 ` redi at gcc dot gnu dot org
@ 2010-04-14 13:34 ` fabien dot chene at gmail dot com
2010-04-14 17:58 ` redi at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: fabien dot chene at gmail dot com @ 2010-04-14 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from fabien dot chene at gmail dot com 2010-04-14 13:34 -------
Subject: Re: uninitialized const member incorrectly accepted,
using an array
2010/4/11 rguenth at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org>:
> Use a bugzilla account with your @gcc.gnu.org address.
Am I supposed to have one ?
I've just read all emails I received some years ago to get the
copyright assignment, there is nothing about an @gcc.gnu.org address.
How can I have one ?
Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
` (3 preceding siblings ...)
2010-04-14 13:34 ` fabien dot chene at gmail dot com
@ 2010-04-14 17:58 ` redi at gcc dot gnu dot org
2010-04-20 22:51 ` fabien dot chene at gmail dot com
2010-05-10 18:38 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-04-14 17:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from redi at gcc dot gnu dot org 2010-04-14 17:57 -------
IIRC you get one with svn checkin rights
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
` (4 preceding siblings ...)
2010-04-14 17:58 ` redi at gcc dot gnu dot org
@ 2010-04-20 22:51 ` fabien dot chene at gmail dot com
2010-05-10 18:38 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: fabien dot chene at gmail dot com @ 2010-04-20 22:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from fabien dot chene at gmail dot com 2010-04-20 22:50 -------
patch here:
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01199.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
` (5 preceding siblings ...)
2010-04-20 22:51 ` fabien dot chene at gmail dot com
@ 2010-05-10 18:38 ` jason at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-10 18:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2010-05-10 18:37 -------
Subject: Bug 43719
Author: jason
Date: Mon May 10 18:37:45 2010
New Revision: 159242
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159242
Log:
PR c++/43719
* decl.c (check_initializer): strip array type before checking for
uninitialized const or ref members.
Added:
trunk/gcc/testsuite/g++.dg/init/pr43719.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ext/anon-struct4.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/43719] uninitialized const member incorrectly accepted, using an array
[not found] <bug-43719-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-12 15:05 ` fabien.chene at gmail dot com
0 siblings, 0 replies; 9+ messages in thread
From: fabien.chene at gmail dot com @ 2010-11-12 15:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43719
Fabien Chene <fabien.chene at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Known to fail| |
--- Comment #7 from Fabien Chene <fabien.chene at gmail dot com> 2010-11-12 14:24:26 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-11-12 15:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-11 17:59 [Bug c++/43719] New: uninitialized const member incorrectly accepted, using an array fabien dot chene at gmail dot com
2010-04-11 18:05 ` [Bug c++/43719] " fabien dot chene at gmail dot com
2010-04-11 19:23 ` rguenth at gcc dot gnu dot org
2010-04-12 11:09 ` redi at gcc dot gnu dot org
2010-04-14 13:34 ` fabien dot chene at gmail dot com
2010-04-14 17:58 ` redi at gcc dot gnu dot org
2010-04-20 22:51 ` fabien dot chene at gmail dot com
2010-05-10 18:38 ` jason at gcc dot gnu dot org
[not found] <bug-43719-4@http.gcc.gnu.org/bugzilla/>
2010-11-12 15:05 ` fabien.chene at gmail dot com
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).