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++/12932] [3.4 regression] ICE with use of ptr-to-function as template arg


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-06 22:56:52
               date|                            |
            Summary|segfault  compiling tempalte|[3.4 regression] ICE with
                   |instantiation               |use of ptr-to-function as
                   |                            |template arg
   Target Milestone|---                         |3.4


------- Additional Comments From bangerth at dealii dot org  2003-11-06 22:56 -------
Confirmed. Here's something smaller:
---------------------
struct Test {
    static void fun();
};

template <void (*fun)()>
void foo () { (*fun)(); }


template
void foo<Test::fun> ();
-------------------------------

This is a regression on mainline w.r.t. all previous versions.

W.


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