A function declared as static inline and who's not used directly, but
only as a pointer reference completely confuse some compilers (gcc 4.1 included). Removing the inline (it was there before when the function was used in the same file) seems to solve the problem. However, the most strange thing is that the bug only appear when we compile directly in the trunk directory. It just don't happens when we're using the VPATH build. This commit was SVN r9408.
Этот коммит содержится в:
родитель
23f0aef07c
Коммит
dabe47ca3d
@ -35,7 +35,7 @@ static mca_pml_ob1_recv_frag_t* mca_pml_ob1_recv_request_match_specific_proc(
|
|||||||
mca_pml_ob1_recv_request_t* request, mca_pml_ob1_comm_proc_t* proc);
|
mca_pml_ob1_recv_request_t* request, mca_pml_ob1_comm_proc_t* proc);
|
||||||
|
|
||||||
|
|
||||||
static inline int mca_pml_ob1_recv_request_free(struct ompi_request_t** request)
|
static int mca_pml_ob1_recv_request_free(struct ompi_request_t** request)
|
||||||
{
|
{
|
||||||
mca_pml_ob1_recv_request_t* recvreq = *(mca_pml_ob1_recv_request_t**)request;
|
mca_pml_ob1_recv_request_t* recvreq = *(mca_pml_ob1_recv_request_t**)request;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
* for others p2p communications. Therefore, in the case of the OB1 PML it should
|
* for others p2p communications. Therefore, in the case of the OB1 PML it should
|
||||||
* be added to the free request list.
|
* be added to the free request list.
|
||||||
*/
|
*/
|
||||||
static inline int mca_pml_ob1_send_request_free(struct ompi_request_t** request)
|
static int mca_pml_ob1_send_request_free(struct ompi_request_t** request)
|
||||||
{
|
{
|
||||||
mca_pml_ob1_send_request_t* sendreq = *(mca_pml_ob1_send_request_t**)request;
|
mca_pml_ob1_send_request_t* sendreq = *(mca_pml_ob1_send_request_t**)request;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user