[PATCH v7 11/13] c: Add target_version attribute support.

2025-07-22 Thread Alfie Richards
Hi All, Apologies, that previous patch was clearly hastily made and included some rubbish temp files. Cleaned up patch attached -- >8 -- This commit introduces support for the target_version attribute in the c frontend, following the behavior defined in the Arm C Language Extension. Key change

[PATCH v7 11/13] c: Add target_version attribute support.

2025-07-22 Thread Alfie Richards
Hello, Quick update for this patch as I found a minor bug with it. Changed the decl merging logic slightly and added a new test. Reg tested on Aarch64 and x68_64. Kind regards, Alfie -- >8 -- This commit introduces support for the target_version attribute in the c frontend, following the beha

[PATCH v7 11/13] c: Add target_version attribute support.

2025-07-21 Thread Alfie Richards
This commit introduces support for the target_version attribute in the c frontend, following the behavior defined in the Arm C Language Extension. Key changes include: - During pushdecl, the compiler now checks whether the current symbol is part of a multiversioned set. - New versions are add