Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ROSE: Error is assignment of character array #93

Open
dagit opened this issue Jan 31, 2013 · 0 comments
Open

ROSE: Error is assignment of character array #93

dagit opened this issue Jan 31, 2013 · 0 comments

Comments

@dagit
Copy link
Member

dagit commented Jan 31, 2013

Converted from SourceForge issue 3409675, submitted by rasmussn

ROSE spews extra output (and sometimes aborts) during a character by character array assignment, e.g.,

     character(16) :: array(1)
     do c = 1, 16
         array(1)(c:c) = val_array(c)
     end do

--------ROSE OUTPUT---------
resetSourcePosition: sourceLocatedNode = 0x1199e4230 = SgPntrArrRefExp = array_ref_of_array_ref_of_var_ref_of_array_at_expr_list_exp_integer_value_exp_1_at_subscript_exp_var_ref_of_c_var_ref_of_c_integer_value_exp_1
Inside of Sg_File_Info::display(get_filenameString() == NULL_FILE)
isTransformation = false
isCompilerGenerated = false
isOutputInCodeGeneration = true (output in code generator)
isShared = false
isFrontendSpecific = false
isSourcePositionUnavailableInFrontend = true (source position unavailable in frontend)
isCommentOrDirective = false
isToken = false
filename = NULL_FILE
line = 0 column = 0
resetSourcePosition: sourceLocatedNode = 0x1199ff750 = SgAssignOp = undefined_expression_name
Inside of Sg_File_Info::display(get_filenameString() == NULL_FILE)
isTransformation = false
isCompilerGenerated = false
isOutputInCodeGeneration = true (output in code generator)
isShared = false
isFrontendSpecific = false
isSourcePositionUnavailableInFrontend = true (source position unavailable in frontend)
isCommentOrDirective = false
isToken = false
filename = NULL_FILE
line = 0 column = 0
Error: (endOfConstruct == startOfConstruct) lastStatement->get_endOfConstruct()->get_line() = 0
Error: (endOfConstruct == startOfConstruct) astScopeStack.front()->get_endOfConstruct()->get_line() = 0
Assertion failed: (astScopeStack.front()->get_endOfConstruct()->get_line() != astScopeStack.front()->get_startOfConstruct()->get_line()), function c_action_block, file ../../../../rose-latest/src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C, line 10127.
Abort trap

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant