<?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 Compiler does not catch type bound function argument's intent m in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819512#M46924</link>
    <description>Abhi,&lt;BR /&gt;&lt;BR /&gt;Thanks for bringing this to our attention. I have escalated it to the developers and will let you know when it is fixed.&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Sep 2010 17:22:48 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2010-09-27T17:22:48Z</dc:date>
    <item>
      <title>Compiler does not catch type bound function argument's intent mismatch</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819511#M46923</link>
      <description>In the snippet below, I believe the compiler is missing to catch intent(INOUT) vs Intent(IN) in subroutine Inspect.&lt;BR /&gt;&lt;BR /&gt;Note that if the commented calls are used then there is a compile-time error. Thus, only if I am using type bound function syntax then the error goes undetected.&lt;BR /&gt;&lt;BR /&gt;Abhi&lt;BR /&gt;&lt;BR /&gt;==================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]Module OM
   
   Implicit None
   
   Type newCar
      Integer :: n
   Contains
      Procedure :: Check
      Procedure :: Inspect
      Procedure :: Test
   End Type newCar

Contains
   
   Subroutine Inspect(Car)
      Class(newCar), Intent(IN) :: Car
      Integer :: m
      !Call Check(Car)
      !Call Car%Check
      !m = Test(Car)
      m = Car%Test()
   End Subroutine Inspect
   
   Subroutine Check(Car)
      Class(newCar), Intent(INOUT) :: Car
   End Subroutine Check
   
   Function Test(Car) Result(i)
      Integer :: i
      Class(newCar), Intent(INOUT) :: Car
      i = 0
   End Function Test
   
End Module OM[/fortran]&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Sep 2010 22:36:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819511#M46923</guid>
      <dc:creator>abhimodak</dc:creator>
      <dc:date>2010-09-21T22:36:18Z</dc:date>
    </item>
    <item>
      <title>Compiler does not catch type bound function argument's intent m</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819512#M46924</link>
      <description>Abhi,&lt;BR /&gt;&lt;BR /&gt;Thanks for bringing this to our attention. I have escalated it to the developers and will let you know when it is fixed.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2010 17:22:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819512#M46924</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-09-27T17:22:48Z</dc:date>
    </item>
    <item>
      <title>Compiler does not catch type bound function argument's intent m</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819513#M46925</link>
      <description>This issue will be fixed in Update 3 to Intel Visual Fortran Composer 2011.</description>
      <pubDate>Sat, 05 Feb 2011 17:28:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-does-not-catch-type-bound-function-argument-s-intent/m-p/819513#M46925</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-05T17:28:09Z</dc:date>
    </item>
  </channel>
</rss>

