[Bug c++/27235] goto crossing P.O.D. initialization

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Mon May 1 20:55:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list