forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 549 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Associated() failing with 64 bit compiler
davidb

Replies: 1
Views: 21

PostForum: Support   Posted: Tue Apr 24, 2018 8:47 am   Subject: Associated() failing with 64 bit compiler
In the following code the associated() intrinsic incorrectly returns .TRUE. causing a run-time error when the deallocate statement is executed.

Since => null() initialisation is used the initial ...
  Topic: Can't assign to intent(out) automatic array element.
davidb

Replies: 2
Views: 23

PostForum: Support   Posted: Tue Apr 24, 2018 8:39 am   Subject: Re:
Thanks. The same fix as before also applies to this code.

In v7.2, runtime checking was not applied when passing array sections as arguments. Runtime checking of array sections was added and worked ...
  Topic: Can't assign to intent(out) automatic array element.
davidb

Replies: 2
Views: 23

PostForum: Support   Posted: Tue Apr 24, 2018 8:02 am   Subject: Can't assign to intent(out) automatic array element.
This bug is similar to the issue with passing automatic arrays on the other thread. A run-time error occurs on the line nn = n when /CHECKMATE or /CHECK is used with the 32 bit compiler. (v 8.3).

...
  Topic: /ISO and /SIZE_ISO
davidb

Replies: 8
Views: 97

PostForum: Support   Posted: Tue Apr 24, 2018 6:53 am   Subject: Re:
I find this thread very annoying.

As someone who uses SIZE with /64, I don't want an intrinsic that returns integer overflow. I want SIZE to return useful information.

How about catering to us u ...
  Topic: /ISO and /SIZE_ISO
davidb

Replies: 8
Views: 97

PostForum: Support   Posted: Mon Apr 23, 2018 8:45 pm   Subject:
Hi Paul.

It might be worth looking at our previous discussion here:

http://forums.silverfrost.com/viewtopic.php?t=3281

Originally there was the option /SIZE32 which changed the behaviour of S ...
  Topic: /ISO and /SIZE_ISO
davidb

Replies: 8
Views: 97

PostForum: Support   Posted: Mon Apr 23, 2018 5:11 pm   Subject: Re:
Further to my last post on this thread...

Up to and including v8.30, /ANSI was an exact alias for /ISO.

Now, users can use /ANSI (instead of /ISO) in order to also force the SIZE intrinsic to re ...
  Topic: Bug in 8.3 - error passing automatic array
davidb

Replies: 5
Views: 103

PostForum: Support   Posted: Mon Apr 23, 2018 5:01 pm   Subject:
Paul,
Thanks. Using /inhibit_check 14 resolves this issue with the 32 bit compiler until the next release. I don't want to turn off /CHECKMATE because I am generally glad of the additional checking o ...
  Topic: Bug in 8.3 - error passing automatic array
davidb

Replies: 5
Views: 103

PostForum: Support   Posted: Sat Apr 21, 2018 12:12 am   Subject:
mecej4, there is no error. Just because a variable is intent(out) doesn't mean the subroutine needs to define it.

All this code does is set the variable to undefined (or it should if it was working ...
  Topic: /ISO and /SIZE_ISO
davidb

Replies: 8
Views: 97

PostForum: Support   Posted: Fri Apr 20, 2018 11:14 am   Subject: /ISO and /SIZE_ISO
The intrinsic SIZE() returns a 64 bit value (KIND = 4) by default.

Using /ISO or /SIZE_ISO is supposed to change this to the default integer kind but this doesn't seem to work. It is always kind = ...
  Topic: Side by side versions?
davidb

Replies: 6
Views: 121

PostForum: General   Posted: Fri Apr 20, 2018 10:13 am   Subject:
Thanks everyone. I will try something similar to John's suggestion.

John, I am posting more details of the issues I have found with 8.3 in the support section.
  Topic: Bug in 8.3 - error passing automatic array
davidb

Replies: 5
Views: 103

PostForum: Support   Posted: Fri Apr 20, 2018 10:10 am   Subject: Bug in 8.3 - error passing automatic array
In the code below an automatic array freq is declared since the extents of each dimension are defined variables in the module.

This code is ANSI/ISO compliant.

When run with /CHECKMATE enabled t ...
  Topic: Side by side versions?
davidb

Replies: 6
Views: 121

PostForum: General   Posted: Thu Apr 19, 2018 10:04 pm   Subject:
Thanks Paul - I will try that.

I will post what I have found about 8.3 regressions tomorrow. I want to find a good illustration code. There are possibly only a few issues with 8.3 that are generati ...
  Topic: Side by side versions?
davidb

Replies: 6
Views: 121

PostForum: General   Posted: Thu Apr 19, 2018 6:21 pm   Subject: Side by side versions?
I have found a lot of issues with version 8.3 so I will have to revert back (again) to version 7.2.

However, if possible I would like to keep both versions installed (so I can pass issues with 8.3 ...
  Topic: Bug in 8.3 64bit using Strict Iso /ISO
davidb

Replies: 3
Views: 111

PostForum: Support   Posted: Thu Apr 19, 2018 6:16 pm   Subject:
Thanks Paul.

I never really understood why you wanted to change the default integer kind to 4 in 64 bit mode. Perhaps it was to support non-standard wider pointers but users who need this could jus ...
  Topic: Bug in 8.3 64bit using Strict Iso /ISO
davidb

Replies: 3
Views: 111

PostForum: Support   Posted: Thu Apr 19, 2018 7:58 am   Subject: Bug in 8.3 64bit using Strict Iso /ISO
Unfortunately use of /ISO in the 64 bit compile also changes the default integer kind to 4 (it is 3 without /ISO).

This means the following code won't compile even though it is standard (ISO/ANSI) ...
 
Page 1 of 37 Goto page 1, 2, 3 ... 35, 36, 37  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group