Opened 7 months ago

Closed 6 months ago

Last modified 5 months ago

#5763 closed defect (fixed)

Expand init array statements for temporaries during scalarization

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

FInitArrayStmts for records are expanded during code generation. The type information is kept in the FFunctionVariable. The type does not contain separate sizes for sub components in the array. We should create FInitArrayStmts for each component level for temporaries created during scalarization (possibly for other variables as well).

Change History (16)

comment:1 Changed 7 months ago by Jonathan Kämpe

r12671 Added FInitArrayShallowStmt for expanded initialization, and accurate type representation, of temporary record arrays in functions.
r12679 Catchup merge from trunk
r12681 Unduplicated some code
r12683 Fixed exception from differentiation of shallow init statements

comment:2 Changed 7 months ago by Jonathan Kämpe

r12684 Fixed instanceof
r12685 Fixed instanceof
r12687 Updated dynamicity keywords and simplified macros.
r12688 Moved test case.
r12689 Fixed scalarization bug for temporaries in sizes.

comment:3 Changed 7 months ago by Jonathan Kämpe

r12705 Updated documentation

comment:4 Changed 7 months ago by Jonathan Kämpe

r12719: Added changelog item
r12720: Merging r12719 to trunk
r12721: Fixed gcc warnings for initialization of stack allocated arrays.
r12722: Fixed code generation of scalar temporary record initialization.
r12726: Refactoring ant directory structure
r12727: Adding empty src dirs to fix buildpath
r12728: adjusting svn:ignore for generated directories
r12730: adjusting svn:ignore for eclipse bin dir
r12731: Refactoring ant directory structure
r12732: Refactoring ant directory structure

comment:5 Changed 7 months ago by Jonathan Kämpe

r12734 adjusting svn:ignore

comment:6 Changed 7 months ago by Jonathan Kämpe

r12760 Fixed bug for c-initialization of scalar records in records.

comment:7 Changed 7 months ago by Jonathan Kämpe

r12762 merging r12720,r12721,r12722 to release branch
r12763 merging r12760 to release branch

comment:8 Changed 7 months ago by Jonathan Kämpe

r12770 Fixed casadi transfer bug with global constants
r12771 Minor refactoring

comment:9 Changed 7 months ago by Jonathan Kämpe

r12772 Fixed function inlining bug

comment:10 Changed 6 months ago by Jonathan Kämpe

r12778: Updated eclipse ant configurations
r12779: Minor refactoring
r12826: Added descriptions of ant properties
r12827: Moved eclipse build-related files into tools/eclipse directory
r12839: Improved error message for property 'target' not set.
r12873: Merging ant eclipse integration updates to trunk

comment:11 Changed 6 months ago by Jonathan Kämpe

Resolution: fixed
Status: assignedclosed

comment:12 Changed 6 months ago by Jonathan Kämpe

r12876 Reverting r12873 since unit tests are no longer running

comment:13 Changed 6 months ago by Jonathan Kämpe

Resolution: fixed
Status: closedreopened

comment:14 Changed 6 months ago by Jonathan Kämpe

r12961 Updated copy of test report to correct source.
r12981 Recommiting r12949,r12950
r12982 Merging r12961 to trunk. Fixed copying of test results.

comment:15 Changed 6 months ago by Jonathan Kämpe

Resolution: fixed
Status: reopenedclosed

comment:16 Changed 5 months ago by Jonathan Kämpe

r13044 Improved error message

Note: See TracTickets for help on using tickets.