This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27235] goto crossing P.O.D. initialization
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2006 20:55:25 -0000
- Subject: [Bug c++/27235] goto crossing P.O.D. initialization
- References: <bug-27235-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from falk at debian dot org 2006-05-01 20:55 -------
(In reply to comment #12)
> Subject: Re: goto crossing P.O.D. initialization
>
> "falk at debian dot org" <gcc-bugzilla@gcc.gnu.org> writes:
>
> | I think this is a valid request. While random language extensions aren't
> | useful,
> | compatibility with C99 is. Maybe somebody else can comment on this...
>
> You have to be more precise about what you mean by C99 compatibility.
I have trouble seeing what might be unclear about this term. I mean that code
that is valid C99 is accepted in C++ unless there is a good reason not to.
just like most of C89 is accepted in C++ unless there is a good reason not to.
> My take on this goto stuff, if it is not valid C++, it is valid C++.
That logically implies that everything valid C++, which might be overdoing
it a bit ;-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27235