------- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-02 22:02 ------- I had messed up my own testcase, this is what I get for writting the testcase in bugzilla and then trying it out. Anyways "abort (0);" should have been "abort ();".
Now if this works, then we have a problem in libstdc++ check to enable weakref for some reason. The testcase should not work at all in GCC before 4.1.0 because of the use of weakref. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26966