{"id":2332,"date":"2015-05-04T17:06:05","date_gmt":"2015-05-04T16:06:05","guid":{"rendered":"http:\/\/roboblog.fatal-fury.de\/?p=2332"},"modified":"2015-06-02T11:59:23","modified_gmt":"2015-06-02T10:59:23","slug":"bug-of-the-day-4","status":"publish","type":"post","link":"http:\/\/roboblog.fatal-fury.de\/?p=2332","title":{"rendered":"storing into constants (Bug of the day 4)"},"content":{"rendered":"<p>From the Layhey Fortran 95 compiler user guide.<\/p>\n<blockquote><p>-[N]PCA<br \/>\nProtext Constant Arguments<br \/>\nCompile only. Default npca<br \/>\nSpecify -pca to prevent invoked subprograms from storing into constants.<\/p>\n<p><strong>Example<\/strong><br \/>\n<code>call sub(5)<br \/>\nprint *, 5<br \/>\nend<br \/>\nsubroutine sub(i)<br \/>\ni = i + 1<br \/>\nend<\/code><\/p>\n<p>This example would print 5 using -pca and <strong>6 using -npca<\/strong>.\n<\/p><\/blockquote>\n<p>Greatest bullshit I've ever seen!<br \/>\nThey create a compiler who can change compile time constants and make it the default behaviour. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the Layhey Fortran 95 compiler user guide. -[N]PCA Protext Constant Arguments Compile only. Default npca Specify -pca to prevent invoked subprograms from storing into constants. Example call sub(5) print *, 5 end subroutine sub(i) i = i + 1 end This example would print 5 using -pca and 6 using -npca. Greatest bullshit I've [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[30],"class_list":["post-2332","post","type-post","status-publish","format-standard","hentry","category-allgemein","tag-fortran"],"_links":{"self":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2332"}],"version-history":[{"count":4,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2332\/revisions"}],"predecessor-version":[{"id":2384,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/2332\/revisions\/2384"}],"wp:attachment":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2332"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}