function pointer for function template without & crashes g++

Andreas Beeker
Sat Apr 24 08:38:00 GMT 1999

Dear Sir or Madam,

i think i found a bug (which wasn't on the bug list).
If you compile the c++-source g++ crashes, but
only if i don't use a & before the template-function.

egcs version: egcs-2.91.66 19990314/Linux
system type: i586-redhat-linux
options you passed to egcs: <none>

attachments in test-bug.tar.bz2:
test.C:       bug source
test-output:  stdout from egcs
test.{ii,s}:  egcs-tmps

Thank you for your good work.

Andreas Beeker

-*-*-*-*-*-*-*- Andreas Beeker -*-*-*-*-*-*-*-
Am Schwanenplatz 1     Westerndorfer Str. 47 G
D-83329 Waging am See  D-83024 Rosenheim
Tel. (08681) 281       Tel. (08031) 28 97 42
Fax. (08681) 42 76
E-Mail:            _/\_\,
HTTP: (*)/ (*)

More information about the Gcc-bugs mailing list