<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092030#M124572</link>
    <description>Hello

It's an intrinsic behavior of fortran. 

It's allowed to store a content in a variable with a actual size smaller than the content. 
integer*4 to an integer*2 variable 
character*100 to a character*2 variable 
and so on

So there is no warning and the result can be not that you may have expected.

Be careful</description>
    <pubDate>Fri, 10 Jun 2016 08:58:29 GMT</pubDate>
    <dc:creator>GVautier</dc:creator>
    <dc:date>2016-06-10T08:58:29Z</dc:date>
    <item>
      <title>truncated strings</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092029#M124571</link>
      <description>&lt;P&gt;I was just surprised by a bug in my code about which I did not get a warning:&lt;/P&gt;

&lt;P&gt;character(LEN=4) :: name&lt;/P&gt;

&lt;P&gt;name = "DAVID"&lt;/P&gt;

&lt;P&gt;There is no compiler warning that "DAVID" gets truncated when stored in name.&lt;/P&gt;

&lt;P&gt;Is there any compiler setting to force this warning?&amp;nbsp; I could not see one.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 00:24:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092029#M124571</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2016-06-10T00:24:08Z</dc:date>
    </item>
    <item>
      <title>Hello</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092030#M124572</link>
      <description>Hello

It's an intrinsic behavior of fortran. 

It's allowed to store a content in a variable with a actual size smaller than the content. 
integer*4 to an integer*2 variable 
character*100 to a character*2 variable 
and so on

So there is no warning and the result can be not that you may have expected.

Be careful</description>
      <pubDate>Fri, 10 Jun 2016 08:58:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092030#M124572</guid>
      <dc:creator>GVautier</dc:creator>
      <dc:date>2016-06-10T08:58:29Z</dc:date>
    </item>
    <item>
      <title>As GVautier points out,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092031#M124573</link>
      <description>&lt;P&gt;As GVautier points out, assigning a 5-character value to a 4-character variable is not a bug, but a feature of the language. It is a bug only in the sense that the code does something different from what you intended.&lt;/P&gt;

&lt;P&gt;A compiler, however, may be able to help you catch such code. There are also many utilities and Lint-like tools that you can run your code through. Ftnchek says:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;      4 name = "DAVID"
             ^
Warning near line 4 col 6 file dav.f90: char*5 const "DAVID" truncated to
 char*4 NAME
&lt;/PRE&gt;

&lt;P&gt;GFortran with -Wall says something very similar to this. Silverfrost FTN95 says&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;0004) name = "DAVID"
COMMENT - Only the first 4 character(s) of this constant will be used
    NO ERRORS, 1 COMMENT  [&amp;lt;XCHAR&amp;gt; FTN95/Win32 v8.00.0]
&lt;/PRE&gt;

&lt;P&gt;Note the level of the message: COMMENT, not WARNING or ERROR.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 11:35:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092031#M124573</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-06-10T11:35:02Z</dc:date>
    </item>
    <item>
      <title>You could have made it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092032#M124574</link>
      <description>&lt;P&gt;You could have made it allocatable maybe and it would allocate on assignment or maybe define it as a parameter which I think would gibve an error on length mismatch.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 11:37:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092032#M124574</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-06-10T11:37:49Z</dc:date>
    </item>
    <item>
      <title>Andrew's suggestion will make</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092034#M124576</link>
      <description>&lt;P&gt;Andrew's suggestion will make the error message go away...&lt;BR /&gt;
	However, it may also introduce a hidden error in your program should the remainder of the program require name be 4 characters in length.&lt;/P&gt;

&lt;P&gt;Be careful of making changes to code when you do not fully comprehend the full implications of such change.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:38:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092034#M124576</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-06-10T14:38:41Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092036#M124578</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Andrew's suggestion will make the error message go away...&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;However, it may also introduce a hidden error in your program should the remainder of the program require name be 4 characters in length.&lt;/P&gt;

&lt;P&gt;Be careful of making changes to code when you do not fully comprehend the full implications of such change.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Indeed the need to analyse &amp;nbsp;the consequences of any change goes without saying. Matching character declaration lengths to an actual hard coded string is rather error prone IMO. "How &amp;nbsp;many characters are there &amp;nbsp;in this sentence?". The dynamic allocation and later use of len(variable_name) if required makes life simpler or you are left to guess a length that is much longer than you really need .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:54:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092036#M124578</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-06-10T16:54:53Z</dc:date>
    </item>
    <item>
      <title>I used to be plagued by this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092037#M124579</link>
      <description>&lt;P&gt;I used to be plagued by this a lot, and eventually learned something that others have not really pointed out. The real danger of this behavior (which I agree is a "feature" of the language) is not just that the name variable will be truncated. In fact that result should be readily apparent and not difficult to debug. The REAL problem is that, by assigning something longer than the allocated storage space, you are inadvertently overwriting a storage cell that may belong to something else. That "something else" is often some unused memory and is harmless, but it can easily belong to something important, which is then corrupted. That corrupted something can cause bizarre, unexpected, and unpredictable behavior that is extremely difficult to debug. All part of the joy of programming in Fortran.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:54:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092037#M124579</guid>
      <dc:creator>dboggs</dc:creator>
      <dc:date>2016-06-10T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Quote:dboggs wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092038#M124580</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;dboggs wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I used to be plagued by this a lot, and eventually learned something that others have not really pointed out. The real danger of this behavior (which I agree is a "feature" of the language) is not just that the name variable will be truncated. .. The REAL problem is that, by assigning something longer than the allocated storage space, you are inadvertently overwriting a storage cell that may belong to something else. That "something else" is often some unused memory and is harmless, but it can easily belong to something important, which is then corrupted. That corrupted something can cause bizarre, unexpected, and unpredictable behavior that is extremely difficult to debug. All part of the joy of programming in Fortran.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;All such problems for a simple assignment involving a truncated CHARACTER expression, as shown in the original post!? &amp;nbsp;I find that very hard to believe, it must be for some other, more complex situations or non-standard code or deprecated coding practices.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 20:48:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092038#M124580</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2016-06-10T20:48:14Z</dc:date>
    </item>
    <item>
      <title>The problems that DBoggs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092039#M124581</link>
      <description>&lt;P&gt;The problems that DBoggs describes may happen in general (I suppose the infamous Bufferoverflow of C covers such things), but for the specific case of #1, wherein a character variable of length 4 is assigned a string of length 5, there can be no clobbering of adjacent memory. The Fortran standard specifies that when a character variable is set equal to a character expression, the latter is truncated or padded with blanks to match the length of the variable. Please see 7.2.1.3, numbered item 10.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;10 For an intrinsic assignment statement where the variable is of type character, the expr may have a diﬀerent character length parameter in which case the conversion of expr to the length of the variable is as follows. (1) If the length of the variable is less than that of expr, the value of expr is truncated from the right until it is the same length as the variable. (2) If the length of the variable is greater than that of expr, the value of expr is extended on the right with blanks until it is the same length as the variable.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;If the variable is allocatable, etc., rather than a simple character variable of known length, I suppose bad things can happen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 20:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092039#M124581</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-06-10T20:58:00Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;The REAL problem is that,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092040#M124582</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;The REAL problem is that, by assigning something longer than the allocated storage space, you are inadvertently overwriting a storage cell that may belong to something else.&lt;/P&gt;

&lt;P&gt;Won't happen. The string gets truncated (or space padded in the event the input string is shorter than the output string).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:35:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092040#M124582</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-06-10T21:35:56Z</dc:date>
    </item>
    <item>
      <title>If GFortran and Silverfrost</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092041#M124583</link>
      <description>&lt;P&gt;If GFortran and Silverfrost can issue a warning when attempting to assign an oversized string, I see no reason why IVF cannot do the same.&lt;/P&gt;

&lt;P&gt;In my code that triggered this, I use a code template for testing a large number of subroutine calls.&amp;nbsp; The maximum length I gave to the string variable was quite reasonable, what I did not catch was that the code I am linking with has subroutine names of increasing length, and so I got caught out.&lt;/P&gt;

&lt;P&gt;It would be great if I could be sure that such errors would be caught at compile time in future.&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 00:25:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092041#M124583</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2016-06-13T00:25:02Z</dc:date>
    </item>
    <item>
      <title>We have run into bugs where a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092042#M124584</link>
      <description>&lt;P&gt;We have run into bugs where a longer string was assigned in another procedure.&amp;nbsp; This will be caught by turning on interface checks.&amp;nbsp; In the actual case it caused no problem for months until inlining caused it to overwrite another variable.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 00:32:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092042#M124584</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-06-13T00:32:19Z</dc:date>
    </item>
    <item>
      <title>I will add this to the list</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092043#M124585</link>
      <description>&lt;P&gt;I will add this to the list of "usage warnings" that have been suggested.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 00:32:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092043#M124585</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-13T00:32:36Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092044#M124586</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;gt;&amp;gt;The REAL problem is that, by assigning something longer than the allocated storage space, you are inadvertently overwriting a storage cell that may belong to something else.&lt;/P&gt;

&lt;P&gt;Won't happen. The string gets truncated (or space padded in the event the input string is shorter than the output string).&lt;/P&gt;

&lt;P&gt;I made that statement a little to hastily, and it wasn't quite correct. Yes, it won't happen exactly like I described. What I was referring to (along with some memory struggle!) was one or more related activity, such as EQUIVALENCE or COMMON trickery, or (more likely) an internal write. I think that severe and hard-to-debug trouble can occur if a long character string is accidentally written (via internal write) to a character variable of shorter declared length.&lt;/P&gt;

&lt;P&gt;It would be good to run a simple test to determine if this is in fact true, but someone here probably already knows?&lt;/P&gt;

&lt;P&gt;CHARACTER(3) :: cthree&lt;BR /&gt;
	CHARACTER(5) :: cfive&lt;BR /&gt;
	INTEGER :: a, b, c&lt;BR /&gt;
	COMMON cthree, a, b, c ! Just to ensure that a is stored immediately after cthree in memory&lt;BR /&gt;
	WRITE (cthree, '(A)') cfive&lt;BR /&gt;
	! Variable a will now be corrupt?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:56:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092044#M124586</guid>
      <dc:creator>dboggs</dc:creator>
      <dc:date>2016-06-14T21:56:20Z</dc:date>
    </item>
    <item>
      <title>Hello</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092045#M124587</link>
      <description>Hello

Nothing wrong will happen except an IO error because the write result is too long for the character variable. That's all.

The only problematic thing about strings but that's not really related to the topic it's using length declared character argument in subroutine and pass real argument of shorter length.

Ex :
&lt;PRE class="brush:fortran"&gt;subroutine test(string)
character*50 string
string=""
end subroutine

character*20 string20
call test(string20)
&lt;/PRE&gt;
The only solution I found is to replace length declared character argument by character*(*) declaration</description>
      <pubDate>Wed, 15 Jun 2016 06:27:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092045#M124587</guid>
      <dc:creator>GVautier</dc:creator>
      <dc:date>2016-06-15T06:27:08Z</dc:date>
    </item>
    <item>
      <title>The example in #17  would</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092046#M124588</link>
      <description>&lt;P&gt;The example in #17 &amp;nbsp;would give compiler error &amp;gt;&amp;gt; "error #7938: Character length argument mismatch."&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 12:21:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092046#M124588</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-06-15T12:21:24Z</dc:date>
    </item>
    <item>
      <title>Quote:andrew_4619 wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092047#M124589</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;andrew_4619 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The example in #17 &amp;nbsp;would give compiler error &amp;gt;&amp;gt; "error #7938: Character length argument mismatch."&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Only if both subprograms are in the same file, or a compiler option is specified that checks for such mismatches, or if extra code is generated to do similar checks at run time.&lt;/P&gt;

&lt;P&gt;In a release mode compilation, the .OBJ file for the subroutine does not use the second argument on the stack, which is the hidden (in Fortran source code) string length argument. Instead, it uses the incorrectly declared length, 50. If the length of the string argument is re-declared as (*), the length is taken from the hidden argument on the stack.&lt;/P&gt;

&lt;P&gt;One can check the disastrous effects of such errors with the code of #17. I put the subroutine and calling program into separate files. The resulting EXE hangs when run, and I had to abort it with Ctrl+C. Worse things can happen with bigger programs, which is why it is important to ensure that code does not contain such interface mismatches.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:11:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092047#M124589</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-06-15T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:One can</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092048#M124590</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;One can check the disastrous effects of such errors with the code of #17. I put the subroutine and calling program into separate files. The resulting EXE hangs when run.......&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;All you say is correct, however....&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;It wouldn't hang for me as it would not build. I would never compile without interfaces checking** and for that matter external routines have no place in my world. I guess if someone adopts less than ideal coding practices and also chooses to not use the options that find errors at compiler time then good luck to them!&lt;/P&gt;

&lt;P&gt;** yes I do realise if you have inherited some ancient/non-standard Fortran that might not be an option in the first instance (been there got the T shirt) ......&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 14:31:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092048#M124590</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-06-15T14:31:31Z</dc:date>
    </item>
    <item>
      <title>This discussion seems a bit</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092049#M124591</link>
      <description>&lt;P&gt;This discussion seems a bit absurd.&lt;BR /&gt;
	If I have a char*80 string VTEXT and want to analyze the first 8 chars why should not write:&lt;BR /&gt;
	character*8 code&lt;BR /&gt;
	code = vtext&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 14:47:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092049#M124591</guid>
      <dc:creator>LRaim</dc:creator>
      <dc:date>2016-06-15T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Luigi,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092050#M124592</link>
      <description>&lt;P&gt;Luigi,&lt;/P&gt;

&lt;P&gt;That is valid.&lt;/P&gt;

&lt;P&gt;gvautier was illustrating how, by declaring a dummy argument of&amp;nbsp;subroutine (without interface checking), that you can declare a character string (or any other array) to be larger than the actual argument. He is cautioning you about this characteristic of Fortran. To avoid this, use interface checking (or not use it if you really need to).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:45:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/truncated-strings/m-p/1092050#M124592</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-06-15T15:45:58Z</dc:date>
    </item>
  </channel>
</rss>

