Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Compiler bug - stream formatted nonadvancing read makes up 0x2000 character

$
0
0

Hello I'd like to report a possible bug in Intel Fortran compiler, I was using: Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 14.0.2.176 Build 20140130 but the same problem exhibits on Win64 and Linux. It seems that when a file is opened in stream formatted mode and read using non-advancing read, it makes up character at position 8192 (and multiples). Example program is attached, the output is bellow. Thanks for your help, Jan c:\honza\math\nag\npen_build>ifort fread_test_1fff.f90 Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 14.0.2.176 Build 20140130 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. Microsoft (R) Incremental Linker Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. -out:fread_test_1fff.exe -subsystem:console fread_test_1fff.obj c:\honza\math\nag\npen_build>fread_test_1fff.exe Reading ifort1fff_test3.txt Section 0 ok, read 99 Section 1 ok, read 99 Section 2 ok, read 99 Section 3 ok, read 99 Section 4 ok, read 99 Section 5 ok, read 99 Section 6 ok, read 99 Section 7 ok, read 99 Section 8 ok, read 99 Section 9 ok, read 99 Section 10 ok, read 99 Section 11 ok, read 99 Section 12 ok, read 99 Section 13 ok, read 99 Section 14 ok, read 99 Section 15 ok, read 99 Section 16 ok, read 99 Section 17 ok, read 99 Section 18 ok, read 99 Section 19 ok, read 99 Section 20 ok, read 99 Section 21 ok, read 99 Section 22 ok, read 99 Section 23 ok, read 99 Section 24 ok, read 99 Section 25 ok, read 99 Section 26 ok, read 99 Section 27 ok, read 99 Section 28 ok, read 99 Section 29 ok, read 99 Section 30 ok, read 99 Section 31 ok, read 99 Section 32 ok, read 99 Section 33 ok, read 99 Section 34 ok, read 99 Section 35 ok, read 99 Section 36 ok, read 99 Section 37 ok, read 99 Section 38 ok, read 99 Section 39 ok, read 99 Section 40 ok, read 99 Section 41 ok, read 99 Section 42 ok, read 99 Section 43 ok, read 99 Section 44 ok, read 99 Section 45 ok, read 99 Section 46 ok, read 99 Section 47 ok, read 99 Section 48 ok, read 99 Section 49 ok, read 99 Section 50 ok, read 99 Section 51 ok, read 99 Section 52 ok, read 99 Section 53 ok, read 99 Section 54 ok, read 99 Section 55 ok, read 99 Section 56 ok, read 99 Section 57 ok, read 99 Section 58 ok, read 99 Section 59 ok, read 99 Section 60 ok, read 99 Section 61 ok, read 99 Section 62 ok, read 99 Section 63 ok, read 99 Section 64 ok, read 99 Section 65 ok, read 99 Section 66 ok, read 99 Section 67 ok, read 99 Section 68 ok, read 99 Section 69 ok, read 99 Section 70 ok, read 99 Section 71 ok, read 99 Section 72 ok, read 99 Section 73 ok, read 99 Section 74 ok, read 99 Section 75 ok, read 99 Section 76 ok, read 99 Section 77 ok, read 99 Section 78 ok, read 99 Section 79 ok, read 99 Section 80 ok, read 99 error at reading section starting at 8100 wrong character at 93 with iachar= 94 read : >aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaa^aaaaaaa< Section 82 ok, read 99


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>