
5 May
2004
5 May
'04
9:28 p.m.
bernard.parisse wrote:
template <class T> monomial<T> Untrunc1(const T & t,int j=0){ index_m new_i; new_i.i()->push_back(j); // ^^ HERE! return monomial<T>(t,new_i); }
Ooops... Thanks! That's the kind of bug that are difficult to find. It's strange that earlier version of gcc did not complain... Does it compile after this fix?
No, unfortunately. The fixed code triggers a bug in GCC 3.4.0. I have already submitted a bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15299
I will investigate it further in a couple of days. Cheers,
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it