Thanks to visit codestin.com
Credit goes to github.com

Skip to content

c++ frontend issue (EDG_ROSE_Translation) #208

@sepy97

Description

@sepy97

When running any Rose tool (either a tool written by me or prebuilt rose tools,, such as identityTranslator) on some CPP files (not all of them, just those that have templates and other syntactic sugar) I keep getting this issue:
Error: default reached template_parameter_kind = 11 identityTranslator[1166814] 2.77245s Rose[FATAL]: assertion failed: identityTranslator[1166814] 2.77254s Rose[FATAL]: ../../../../../../rose/src/frontend/CxxFrontend/EDG/edgRose/edgRose.C:18791 identityTranslator[1166814] 2.77258s Rose[FATAL]: SgExpression* EDG_ROSE_Translation::convert_constant_template_parameter(a_constant_ptr) identityTranslator[1166814] 2.77260s Rose[FATAL]: required: false

It's happening on newer versions of Rose (0.11.46.0.1+), on older it's fine (for example, 0.11.46.0.0): both my tool and identityTranslator work fine on both C and CPP files. Both old and new versions of Rose were installed from apt package, so EDG frontend was part of the package.

On my Rose tool I've figured out the line that causes the issue:
ast = frontend(argv);
So, it seems like this issue is related to how Rose works with the frontend, not sure how can I debug this issue.
Any help would be useful

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions