Message315479
I think it is worth getting such a change in.
its arguable that the compiler should be able to see through the union for this use case but I assume such a fix would only land in a recent clang version.
i'm attaching a variant on your patch that doesn't cast entire structs but just casts the VLA.
thoughts? |
|
Date |
User |
Action |
Args |
2018-04-19 05:54:11 | gregory.p.smith | set | recipients:
+ gregory.p.smith, twouters, benjamin.peterson, fweimer |
2018-04-19 05:54:11 | gregory.p.smith | set | messageid: <1524117251.33.0.682650639539.issue33312@psf.upfronthosting.co.za> |
2018-04-19 05:54:11 | gregory.p.smith | link | issue33312 messages |
2018-04-19 05:54:10 | gregory.p.smith | create | |
|