Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Disambiguate the storage class of some compound literals: change request for C23

Jens Gustedt 1 Martin Uecker 2 
1 CAMUS - Compilation pour les Architectures MUlti-coeurS
Inria Nancy - Grand Est, ICube - Laboratoire des sciences de l'ingénieur, de l'informatique et de l'imagerie
Abstract : We noticed that there is a need for clarification about the storage class of compound literals that are evaluated in the type expressions of function parameters. It turned out that clang has them as static storage duration while gcc has them as automatic. We asked WG14 to clarify this situation and consensus (13-0-8) has been reached that it should be specified as automatic. This paper implements that change.
Document type :
Reports (Research report)
Complete list of metadata

https://hal.inria.fr/hal-03363683
Contributor : Jens Gustedt Connect in order to contact the contributor
Submitted on : Monday, October 4, 2021 - 10:31:51 AM
Last modification on : Saturday, November 5, 2022 - 3:58:20 AM
Long-term archiving on: : Wednesday, January 5, 2022 - 6:17:28 PM

File

n2819.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-03363683, version 1

Citation

Jens Gustedt, Martin Uecker. Disambiguate the storage class of some compound literals: change request for C23. [Research Report] 2819, ISO JCT1/SC22/WG14. 2021, pp.2. ⟨hal-03363683⟩

Share

Metrics

Record views

22

Files downloads

30