a*i;
i*b;
b*i;
j*a;
a*j;
j*b;
b*j;
}
It's my first bug report, How can I give you the .ii file?
--
Summary: internal compiler error: in write_type, at
cp/mangle
--- Comment #2 from brakiozor at caramail dot com 2007-10-18 07:56 ---
Created an attachment (id=14369)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14369&action=view)
.ii file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33808
--- Comment #3 from brakiozor at caramail dot com 2007-10-18 08:06 ---
I found this bug on a more complex program and I did an epurated code.
--
brakiozor at caramail dot com changed:
What|Removed |Added
--- Comment #1 from brakiozor at caramail dot com 2007-10-18 07:55 ---
Created an attachment (id=14368)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14368&action=view)
source code
I was playing a little with template
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33808
--- Comment #5 from brakiozor at caramail dot com 2007-10-19 10:06 ---
yes, one of the way is to pass by an intermediate template type...
(I found it on the web)
but the compiler error could(and should) be fixed
#define TPL_TYPEOF_MUL(A,B) typename typeof_mul::type
#define TYPEOF_MUL(A