[C89 regression] C++ has too much stuff. Make it smaller. Release: C++98
Fix: Removing templates, namespaces, classes and operator overloading should do it. You can keep exceptions, they're useful.
Responsible-Changed-From-To: unassigned->jason Responsible-Changed-Why: Why do I have to say anything here?
State-Changed-From-To: open->closed State-Changed-Why: Insolence will not be tolerated. Obey C++! Trust C++!
From: jason@gcc.gnu.org To: gcc-gnats@gcc.gnu.org, jason@cygnus.com, jason@gcc.gnu.org, jsm@cygnus.com, nobody@gcc.gnu.org Cc: Subject: Re: c++/5 Date: 10 Feb 2000 23:17:40 -0000 Synopsis: C++ sucks, can't you make it better? Responsible-Changed-From-To: unassigned->jason Responsible-Changed-By: jason Responsible-Changed-When: Thu Feb 10 15:17:40 2000 Responsible-Changed-Why: Why do I have to say anything here? State-Changed-From-To: open->closed State-Changed-By: jason State-Changed-When: Thu Feb 10 15:17:40 2000 State-Changed-Why: Insolence will not be tolerated. Obey C++! Trust C++! http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=5&database=gcc
State-Changed-From-To: closed->analyzed State-Changed-Why: I've just noticed this bug has not yet been fixed. It's a C89 regression, so I've marked it as such. I've also changed its class to "pessimizes code", which matches my experience.
State-Changed-From-To: analyzed->closed State-Changed-Why: Work around exists. Use flag "-c x"
From: Daniel Berlin <dberlin@dberlin.org> To: billingd@gcc.gnu.org, <gcc-bugs@gcc.gnu.org>, <gcc-prs@gcc.gnu.org>, <jason@gcc.gnu.org>, <jsm@cygnus.com>, <gcc-gnats@gcc.gnu.org> Cc: Subject: Re: c++/5: C++ sucks, can't you make it better? Date: Fri, 15 Nov 2002 17:10:12 -0500 (EST) On 15 Nov 2002 billingd@gcc.gnu.org wrote: > Synopsis: C++ sucks, can't you make it better? > > State-Changed-From-To: analyzed->closed > State-Changed-By: billingd > State-Changed-When: Fri Nov 15 14:00:33 2002 > State-Changed-Why: > Work around exists. Use flag "-c x" Err, you mean -x c. You must be used to programming in C, where a[5] is equivalent to 5[a]. :P
Still hasn't been fixed :-( At least C has recently become something like exceptions, so the C->C++ regression isn't so bad any more. I suggest adding templates to C, at which point we can probably finally forget about this PR. W.
No We need more Objective-C bugs as there are way less of them than C++ ones. Woops I forgot Objective-C is a much smaller language.
This one is cute, but I don't want it at the top of the release notes list for 3.4.0. Since I'm a C++ programmer, I'm going to change it to RESOLVED/WORKSFORME. Ideally, C++ haters would be able to have a magic filter marking it as RESOLVED/WONTFIX instead.
As I said, it works for me. I've been writing C++ for 14 years now, so my brain is damaged. It's a fine language, it really, really is. Damn, dumped core *again*?
I would also like to state that without C++, we would have far less to do in gcc. How would we be supposed to become famous gcc hackers if we only had to deal with small, simple, and orthogonal languages? C++ is the material that allows heros to enter the scenes (imagine how boring fairy tales and Greek mythology were if they didn't have dragons and monsters at the time...). W.
*** Bug 39949 has been marked as a duplicate of this bug. ***
*** Bug 40000 has been marked as a duplicate of this bug. ***