diff options
author | Cody P Schafer <dev@codyps.com> | 2015-08-16 18:54:37 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-08-19 10:53:01 +0930 |
commit | eda7c5a20ecb045b5a0181261537bdbef6125a6d (patch) | |
tree | 0f2eaada5eaaa38ebd0246810e36692998064cf7 /junkcode/dongre.avinash@gmail.com-clibutils/test/t_clibutils.c | |
parent | 088030222124fc906364f30dcdc945191ecd61e7 (diff) |
configurator: hide type punning
As for the type punning: gcc-5.1 with optimization (at least) warns about type punning in
the previous example. The new usage should be exactly equivalent to the
old, but just seperates the cast and deref into 2 statements. Frankly,
I'm suprised gcc's type-punning analysis is so limited.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'junkcode/dongre.avinash@gmail.com-clibutils/test/t_clibutils.c')
0 files changed, 0 insertions, 0 deletions