You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the following build errors on main @ 652d82f :
error: Semantic errors in example/derived-type_diagnostic.F90
./example/derived-type_diagnostic.F90:47:5: error: Left-hand side of assignment is not definable
self_defined = self%defined_
^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:47:5: because: 'self_defined' is externally visible via 'self_defined' and not definable in a pure subprogram
self_defined = self%defined_
^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:31:15: Declaration of 'self_defined'
logical self_defined
^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:109:11: error: Internal file variable 'untrimmed_string' is not definable
write(untrimmed_string,*) self%stuff_%z()
^^^^^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:109:11: because: 'untrimmed_string' is externally visible via 'untrimmed_string' and not definable in a pure subprogram
write(untrimmed_string,*) self%stuff_%z()
^^^^^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:108:28: Declaration of 'untrimmed_string'
character(len=max_len) untrimmed_string
^^^^^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:110:5: error: Left-hand side of assignment is not definable
character_self = trim(adjustl(untrimmed_string))
^^^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:110:5: because: 'character_self' is externally visible via 'character_self' and not definable in a pure subprogram
character_self = trim(adjustl(untrimmed_string))
^^^^^^^^^^^^^^
./example/derived-type_diagnostic.F90:88:40: Declaration of 'character_self'
character(len=:), allocatable :: character_self
^^^^^^^^^^^^^^
<ERROR> Compilation failed for object " example_derived-type_diagnostic.F90.o "
<ERROR> stopping due to failed compilation
The text was updated successfully, but these errors were encountered:
…ew 19.1.1
I don't really understand why this change works, but it resolves the compile
errors in my testing. I suspect this might represent a defect in flang-new.
bonachea
added a commit
to bonachea/assert
that referenced
this issue
Oct 21, 2024
…ew 19.1.1
I don't really understand why this change works, but it resolves the compile
errors in my testing. I suspect this might represent a defect in flang-new.
bonachea
added a commit
to bonachea/assert
that referenced
this issue
Nov 8, 2024
…ew 19.1.1
I don't really understand why this change works, but it resolves the compile
errors in my testing. I suspect this might represent a defect in flang-new.
I don't really understand why this change works, but it resolves the compile
errors in my testing. I suspect this might represent a defect in flang-new.
Using Damian's build of flang-new 19.1.1 on Perlmutter:
I see the following build errors on main @ 652d82f :
The text was updated successfully, but these errors were encountered: