https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69356
Christian Brauner <christian.brauner at mailbox dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation URL| |https://gcc.gnu.org/onlined | |ocs/gcc/Compound-Literals.h | |tml --- Comment #1 from Christian Brauner <christian.brauner at mailbox dot org> --- The rationale behind this can be found in section 6.5.2.5 [Compound literals] of the C-standard (http://www.iso-9899.info/n1570.html) in Footnote 99: "Footnote 99) Note that this differs from a cast expression. For example, a cast specifies a conversion to scalar types or void only, and the result of a cast expression is not an lvalue."