[EXT_EP-11472] Functions with constructor attribute are incorrectly discarded Created: 06/Oct/23  Updated: 09/May/24  Resolved: 21/Oct/23

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-11639
Found In Release: C2000_22.6.0.LTS
C6000_8.3.0
MSP430_20.2.0.LTS
C7000_2.1.0.LTS
MSP430_21.6.0.LTS
C2000_21.6.0.LTS
PRU_2.3.0
C7000_3.1.0.LTS
ARM_20.2.0.LTS
Fix In Release: MSP430_20.2.8.LTS*
C7000_2.1.3.LTS*
MSP430_21.6.2.LTS*
C7000_3.1.1.LTS
C2000_22.6.2.LTS*
C6000_8.3.13
ARM_20.2.8.LTS*
C2000_NEXT*
PRU_2.3.4*
C2000_21.6.2.LTS*
Affected Platform/Device: default

 Description   

The TI compiler supports the GNU attribute extension "constructor." You can apply this attribute to a function to cause it to be executed before the start of the main function. The TI compiler allowed this attribute, but mistakenly discarded the function during linking if not otherwise referenced.


Generated at Mon Apr 14 02:10:35 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.