On 2022-04-13 18:56:55 -0700, Elijah Stone wrote: > const vars are not integer constant expressions; your code is not guaranteed > to work. Some gnu exts are implemented; this one is not.
Note that this is more an implemention-defined feature than an extension. The C standard says: 6.6 Constant expressions [...] 10 An implementation may accept other forms of constant expressions. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel