src/fflib/lgmat.cpp:564: error: NULL_DEREFERENCE pointer `op` last assigned on line 562 could be null and is dereferenced at line 564, column 21. Showing all 23 steps of the trace src/fflib/lgmat.cpp:557:8: start of procedure SetMatrix_Op 555. 556. public: 557. SetMatrix_Op(const basicAC_F0 & args,Expression aa) : a(aa) { ^ 558. args.SetNameParam(n_name_param,name_param,nargs); 559. precon = 0; // a changer src/fflib/lgmat.cpp:564:64: Skipping E_F0mps: function or method not found 562. const Polymorphic * op= dynamic_cast(nargs[3]); 563. assert(op); 564. precon = op->Find("(",ArrayOfaType(atype* >(),false)); // strange bug in g++ is R become a double ^ 565. } 566. src/fflib/lgmat.cpp:557:63: 555. 556. public: 557. > SetMatrix_Op(const basicAC_F0 & args,Expression aa) : a(aa) { 558. args.SetNameParam(n_name_param,name_param,nargs); 559. precon = 0; // a changer src/fflib/lgmat.cpp:558:10: 556. public: 557. SetMatrix_Op(const basicAC_F0 & args,Expression aa) : a(aa) { 558. > args.SetNameParam(n_name_param,name_param,nargs); 559. precon = 0; // a changer 560. if ( nargs[3]) src/fflib/AFunction2.cpp:1001:1: start of procedure SetNameParam 999. } 1000. 1001. > void basicAC_F0::SetNameParam(int n,name_and_type *l , Expression * e) const 1002. { 1003. int k=0; src/fflib/AFunction2.cpp:1003:2: 1001. void basicAC_F0::SetNameParam(int n,name_and_type *l , Expression * e) const 1002. { 1003. > int k=0; 1004. if ( !n && !named_parameter) return; 1005. src/fflib/AFunction2.cpp:1004:8: Taking false branch 1002. { 1003. int k=0; 1004. if ( !n && !named_parameter) return; ^ 1005. 1006. for (int i=0;i for (int i=0;isize()) src/fflib/AFunction2.cpp:1029:7: Taking true branch 1027. if (!named_parameter) return; 1028. 1029. if ((size_t) k!= named_parameter->size()) ^ 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <size()) 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <begin(); ii != named_parameter->end();ii++) 1033. { src/fflib/AFunction2.cpp:1032:11: Skipping _Rb_tree_const_iterator: function or method not found 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() <begin(); ii != named_parameter->end();ii++) ^ 1033. { 1034. for (int i=0;isize() <begin(); ii != named_parameter->end();ii++) ^ 1033. { 1034. for (int i=0;iname() << ">\n"; 1044. } 1045. CompileError("Unused named parameter"); ^ 1046. } 1047. } src/fflib/AFunction2.cpp:1029:3: 1027. if (!named_parameter) return; 1028. 1029. > if ((size_t) k!= named_parameter->size()) 1030. { 1031. cout << " Sorry some name parameter are not used! found" << k << " == " << named_parameter->size() < } 1048. 1049. src/fflib/lgmat.cpp:559:10: 557. SetMatrix_Op(const basicAC_F0 & args,Expression aa) : a(aa) { 558. args.SetNameParam(n_name_param,name_param,nargs); 559. > precon = 0; // a changer 560. if ( nargs[3]) 561. { src/fflib/lgmat.cpp:560:15: Taking true branch 558. args.SetNameParam(n_name_param,name_param,nargs); 559. precon = 0; // a changer 560. if ( nargs[3]) ^ 561. { 562. const Polymorphic * op= dynamic_cast(nargs[3]); src/fflib/lgmat.cpp:562:12: 560. if ( nargs[3]) 561. { 562. > const Polymorphic * op= dynamic_cast(nargs[3]); 563. assert(op); 564. precon = op->Find("(",ArrayOfaType(atype* >(),false)); // strange bug in g++ is R become a double src/fflib/lgmat.cpp:564:12: 562. const Polymorphic * op= dynamic_cast(nargs[3]); 563. assert(op); 564. > precon = op->Find("(",ArrayOfaType(atype* >(),false)); // strange bug in g++ is R become a double 565. } 566.