public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5650: g++ allows uninitialized const members
@ 2002-04-25 9:46 nathan
0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2002-04-25 9:46 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pauljlucas
Synopsis: g++ allows uninitialized const members
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Thu Apr 25 09:46:14 2002
State-Changed-Why:
confirmed. [12.6.2]/4 second option applies. the ctor is
ill-formed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5650
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5650: g++ allows uninitialized const members
@ 2002-02-09 20:56 pauljlucas
0 siblings, 0 replies; 2+ messages in thread
From: pauljlucas @ 2002-02-09 20:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 5650
>Category: c++
>Synopsis: g++ allows uninitialized const members
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Sat Feb 09 20:56:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paul J. Lucas
>Release: 3.0.3
>Organization:
>Environment:
System: Linux powerbook 2.2.19-pjl #1 Sun Sep 2 04:31:35 PDT 2001 ppc unknown
Architecture: ppc
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: /tmp/gcc-3.0.3/configure --prefix=/usr/local/packages/gcc-3.0.3 --enable-threads=posix --enable-languages=c,c++ --disable-nls
>Description:
Given:
struct S {
S() { }
int const i;
};
main() {
S s;
}
g++ accepts allows S::i to go uninitialized.
>How-To-Repeat:
Compile the above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-25 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-25 9:46 c++/5650: g++ allows uninitialized const members nathan
-- strict thread matches above, loose matches on Subject: below --
2002-02-09 20:56 pauljlucas
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).