This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-08-01 21:29 -------
(In reply to comment #5)
> Actually, two lines suffice:

I don't remember if template functions can be static.  I really think they
cannot.
Which is one of the reasons why this bug was not marked as confirmed or have a
keyword assigned to it.

Note PR 32596 is definitely valid code, anonymous namespaces templates.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32400


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]