https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952
--- Comment #1 from eric-gcc at omnifarious dot org ---
Because you might not like Godbolt links, here is the C code:
//---cut here---
/*** core string search routine ***/
typedef char *String;
typedef
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: eric-gcc at omnifarious dot org
Target Milestone: ---
This code generates about 400+ lines of assembly:
https://gcc.godbolt.org/z/s9s9Mx
and this essentially equivalent C code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50087
--- Comment #7 from eric-gcc at omnifarious dot org 2011-09-13 22:15:16 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > I still think it's a missed optimization opportunity.
>
> Yes, it definitely is. I'm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50087
--- Comment #1 from eric-gcc at omnifarious dot org 2011-08-15 12:49:16 UTC ---
Created attachment 25015
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25015
The function 'runs_too_long' takes basically forever
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50087
Bug #: 50087
Summary: Weird optimization anomoly with constexpr
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46827
--- Comment #2 from eric-gcc at omnifarious dot org 2010-12-06 20:19:51 UTC ---
(In reply to comment #1)
> I think you should proposal this to the C++ standards committee instead of
> posting a full request here.
I don't know how to d
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46827
Summary: Heavy use of namespaces leads to cluttered and
difficult to read header files
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Prio
--- Comment #6 from eric-gcc at omnifarious dot org 2006-03-02 20:25
---
I'm pleased that I came up with such a difficult test case for the optimizer.
I never thought it'd be that hard. :-)
I don't know anything about the internals, but...
The compiler has to gene