<?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 In the context of code in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172543#M146357</link>
    <description>&lt;P&gt;In the context of code coverage a basic block is a fragment of code that will be executed without any interruption.&lt;/P&gt;

&lt;P&gt;For instance:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;do i =1,10
    read( 20, * ) value(i)
    write( 30, * ) i, value(i)
enddo&lt;/PRE&gt;

&lt;P&gt;The two lines inside the do-loop form a basic block as there is no (visible) means to leave the fragment. If you were to insert a "err = label" statement that would change, as then there is a way of jumping out of the fragment.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 13:31:47 GMT</pubDate>
    <dc:creator>Arjen_Markus</dc:creator>
    <dc:date>2017-12-13T13:31:47Z</dc:date>
    <item>
      <title>What on earth is a basic block</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172542#M146356</link>
      <description>&lt;P&gt;In the ifort documentation for code coverage, light yellow stands for 'Partially Covered Code'.&lt;/P&gt;

&lt;P&gt;Its description runs as follows:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Indicates that more than one basic block was generated for the code at this position. Some of the blocks were covered and some were not. You can override the default color with the &lt;A href="http://127.0.0.1:47873/help/1-10428/ms.help?method=page&amp;amp;id=MAIN_FOR-CCC5CDCC-000176&amp;amp;product=VS&amp;amp;productVersion=100&amp;amp;topicVersion=&amp;amp;locale=EN-US&amp;amp;topicLocale=EN-US&amp;amp;embedded=true#OPTS1" target=""&gt;&lt;SPAN class="option"&gt;-pcolor&lt;/SPAN&gt; tool option&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What on earth and in the seven heavens is a "basic block"? This could be&amp;nbsp;&lt;EM&gt;anything&amp;nbsp;&lt;/EM&gt;to the uninformed reader. Could be a variable declaration, a whole module, a program.&lt;/P&gt;

&lt;P&gt;What is this mysterious entity? Does it have anything to do with this? &lt;A href="https://www.obliquity.com/computer/fortran/common.html" target="_blank"&gt;https://www.obliquity.com/computer/fortran/common.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 13:25:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172542#M146356</guid>
      <dc:creator>awa5114</dc:creator>
      <dc:date>2017-12-13T13:25:21Z</dc:date>
    </item>
    <item>
      <title>In the context of code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172543#M146357</link>
      <description>&lt;P&gt;In the context of code coverage a basic block is a fragment of code that will be executed without any interruption.&lt;/P&gt;

&lt;P&gt;For instance:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;do i =1,10
    read( 20, * ) value(i)
    write( 30, * ) i, value(i)
enddo&lt;/PRE&gt;

&lt;P&gt;The two lines inside the do-loop form a basic block as there is no (visible) means to leave the fragment. If you were to insert a "err = label" statement that would change, as then there is a way of jumping out of the fragment.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 13:31:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172543#M146357</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2017-12-13T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Allright, so if I find a line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172544#M146358</link>
      <description>&lt;P&gt;Allright, so if I find a line that is light yellow in my coverage report, what does that actually &lt;EM&gt;mean&lt;/EM&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:15:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172544#M146358</guid>
      <dc:creator>awa5114</dc:creator>
      <dc:date>2017-12-13T14:15:22Z</dc:date>
    </item>
    <item>
      <title>My guess - but I immediately</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172545#M146359</link>
      <description>&lt;P&gt;My guess - but I immediately acknowledge that I am not an expert in this area - is that the compiler generated multiple instances of the code in question in order to optimise it. This may mean things like: generate one version of a routine with optional arguments in which the argument is not present and one in which it is. Not knowing your code I can only make such guesses.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:59:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-on-earth-is-a-basic-block/m-p/1172545#M146359</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2017-12-13T14:59:25Z</dc:date>
    </item>
  </channel>
</rss>

