DATE_AND_TIME Memory leak?

DATE_AND_TIME Memory leak?

imagem de bmchenry

sorry for 'just getting started' questions...but here goes another..
in fortran documentation for DATE_AND_TIME is the following example:

INTEGER DATE_TIME (8)
CHARACTER (LEN = 12)
REAL_CLOCK (3)
CALL DATE_AND_TIME (REAL_CLOCK (1), REAL_CLOCK (2),REAL_CLOCK (3), DATE_TIME)

I used it in a part of the program (just crude monitor of elapsed time)
and evaluation says 'Memory leak'
so since i wasn't using 1st three args, i also tried
CALL DATE_AND_TIME (VALUES=DATE_TIME)
same thing.
where's theleak??

thanks

4 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Peter Wang (Intel)

Therewas a similar report before - http://software.intel.com/en-us/forums/showthread.php?t=82285&o=a&s=lr

It seemed that the bug had been fixed in Inspector XE 2011 Update 3 (current product is Update 4).

Please use latest product to test again, if the problem persists on - please provide test case, and OS information. I will test again.

Thanks, Peter

imagem de bmchenry

Just checked and i'm Update 3. will update to 4)
Inspector has caught a number of issues and these are merely 'why's it saying that' type questions.
will check with update 4 and let you know.

Brian

imagem de Peter Wang (Intel)

If the problem persists on Update 4, please attach your workable example code, and let me know ifort version you used, OS info. I will try to reproduce this on my side.

Thanks, Peter

Faça login para deixar um comentário.