- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I'm working with a large FORTRAN codebase and running into what appears to be a large number of false positives. I'm working with the latest version of the compiler and Inspector, but I do not understand how I can refactor the code to remove these errors. Any help into understanding these issues would be appreciated.
RE:
------
Allocation site MEMORY LEAK
69 icount = 0
70 do
>71 read(73,*, end = 101, err = 102)
72 icount = icount + 1
73 enddo
-----
Allocation site, Read MEMORY LEAK
239 line = ' '
240
>241 OPEN(lun,FILE=file_str%file,STATUS='OLD',ACTION='READ',IOSTAT=ios)
242 IF( ios /= 0 )GOTO 9999
243
-----
Allocation site, Read UNINITIALIZED MEMORY ACCESS
22 !==== Open the file
23
>24 OPEN( UNIT=lunit,FILE=file,STATUS='OLD',ACTION='READ',IOSTAT=ios )
25 IF( ios /= 0 )THEN
26 nError = OP_ERROR
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi,
Is it possible to provide working sample of your application where the arguable errors can be found? Your results would be helpful as well. And please let me know the Inspector XEcommand line("Show command line" buttom from GUI).
You can make the thread private to secure your code samples. I'll try to reproduce them on my side and experiment with possible resolutions.
Regards,
Kirill
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora