any idea regarding this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115
On Monday, November 15, 2021 at 10:17:43 AM UTC-8, ygal...@gmail.com wrote:Thanks for the reply.
any idea regarding this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115Seems to me slightly complicated, especially related to the character variable lengths. What does it do with CHARACTER(1) instead?
As well as I know, the array constructors get the length from the first element, which in this case is a variable. I think you can put a CHARACTER(1):: at the beginning of the array constructor to tell
it the length. In some cases, that is required. You might also
try it with other lengths.
Note that a character array has all strings of the same length.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 159 |
Nodes: | 16 (0 / 16) |
Uptime: | 98:47:10 |
Calls: | 3,209 |
Files: | 10,563 |
Messages: | 3,009,783 |