public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5998: regression, all builtins disabled
@ 2002-03-18 12:36 mrs
0 siblings, 0 replies; 3+ messages in thread
From: mrs @ 2002-03-18 12:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 5998
>Category: c++
>Synopsis: regression, all builtins disabled
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 18 12:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Mike Stump
>Release: top of tree cvs
>Organization:
>Environment:
sparc-sun-solaris2.7, affects all hosts/targets
>Description:
Mark recently put in:
> /* In C++, we never create builtin functions whose name does not
> begin with `__'. Users should be using headers to get prototypes
> in C++. It would be nice if we could warn when `-fbuiltin' is
> used explicitly, but we do not have that information. */
> flag_no_builtin = 1;
this this is wrong. It disables all builtins, and causes
performance regressions with C++ code:
#include <memory.h>
int a, b;
int main() {
memcpy(&a, &b, sizeof(a));
}
for example. Also, alloca should not just disappear,
it is a long standing extension, and disappearing it
should be well thought out, not just done.
See also http://gcc.gnu.org/ml/gcc/2002-03/msg00895.html
for the mailing list traffic.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/5998: regression, all builtins disabled
@ 2002-03-29 12:44 mmitchel
0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2002-03-29 12:44 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mmitchel, mrs
Synopsis: regression, all builtins disabled
State-Changed-From-To: open->closed
State-Changed-By: mmitchel
State-Changed-When: Fri Mar 29 12:44:14 2002
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5998
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/5998: regression, all builtins disabled
@ 2002-03-19 11:45 mmitchel
0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2002-03-19 11:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mmitchel, mrs, nobody
Synopsis: regression, all builtins disabled
Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Tue Mar 19 11:45:49 2002
Responsible-Changed-Why:
I will investigate.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5998
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-29 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-18 12:36 c++/5998: regression, all builtins disabled mrs
2002-03-19 11:45 mmitchel
2002-03-29 12:44 mmitchel
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).