[PURRS-devel] Re: Giac 0.4.0 and GCC 3.4.0

Roberto Bagnara bagnara at cs.unipr.it
Wed May 5 23:28:44 CEST 2004


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 at cs.unipr.it



More information about the PURRS-devel mailing list