--- Comment #6 from stephanemarcotte at 3d-p dot com 2009-04-17 15:45
---
the template also declares the methods M() and N(), when M, N are also template
parameters. (The code snippet is obviously buggy.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797
--- Comment #5 from stephanemarcotte at 3d-p dot com 2009-04-17 15:41
---
Also, if I remove the derivation from the MatrixBase abstract base class, the
error disappears.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797
--- Comment #3 from stephanemarcotte at 3d-p dot com 2009-04-17 15:38
---
Isolate to the method:
Matrix::Matrix & operator*=( double f ) ...
The template takes 2 args, but the above makes g++ crash. If I take out one
parameter (e.g., Matrix), then I get a compiler error as expe
--- Comment #2 from stephanemarcotte at 3d-p dot com 2009-04-17 15:27
---
Created an attachment (id=17652)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17652&action=view)
the .ii file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797
--- Comment #1 from stephanemarcotte at 3d-p dot com 2009-04-17 15:27
---
Created an attachment (id=17651)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17651&action=view)
Source file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797
on: 4.2.4
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stephanemarcotte at 3d-p dot com
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39797