Re:GCC proves an uninitialized variable must be 0 and doesn'...
by TheAsprngHacker on Tuesday March 05, 2019 @12:41PM
(#19312375)
I had no idea that the meet/join operations are used in compiler analysis, and I'm curious to find out more. Where can I find out how meet and join are defined on C values, in the context of GCC?
[ Parent
| on HN ]
Re:GCC proves an uninitialized variable must be 0 and doesn'...
by DannyBee on Wednesday March 06, 2019 @01:46PM
(#19321424)
Compiler dataflow, is at its core, lattice operations.
If you read papers from the 70's, you will find it's very direct about it.
For this specific optimization, you want https://github.com/gcc-mirror/gcc/blob/master/gcc/tree-ssa-c...