On Fri, Feb 23, 2018 at 10:55:13PM +0100, Jann Horn wrote: > No functional change - ->src1 and ->phi_src are at the same offset and have > the same type. > Discovered and debugged by compiling with "-Dunion=struct" in CFLAGS, which > I originally did because I wanted to easily see in GDB which union fields > I'm supposed to be accessing. There is some doc helping a bit about this on my tree: https://github.com/lucvoo/sparse/blob/master/Documentation/IR.md > Amazingly, running with -Dunion=struct seems > to work pretty well if you patch dup_token() to copy all the union members. Good to know. > Signed-off-by: Jann Horn <jannh@xxxxxxxxxx> Acked-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html