Opened 7 years ago

Last modified 3 years ago

#4477 new defect

C++ Runtime Regression for pre(array) crefs

Reported by: Martin Sjölund Owned by: somebody
Priority: critical Milestone:
Component: Cpp Run-time Version:
Keywords: Cc: Rüdiger Franke, Niklas Worschech

Description

When simplifying equations like {x[1], ..., x[n]} into x, it seems the C++ runtime could not handle this for pre-expressions.

There is an easy way to fix the problem by disabling the new optimization module collapseArrayExps for the C++ runtime only. But I think the generated code should handle pre of arrays instead (or possibly to not collapse pre() of arrays).

See the regression testing for affected models.

Change History (7)

comment:1 by Martin Sjölund, 7 years ago

Component: Code GenerationCpp Run-time
Owner: changed from Lennart Ochel to somebody

comment:2 by Francesco Casella, 7 years ago

Milestone: 1.12.01.13.0

Milestone moved to 1.13.0 due to 1.12.0 already being released.

comment:3 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:7 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.