4 ms·
Excellent, thank you. Those also compile differently for me, so it probably appeared in a newer version of gcc.
by silentbicycle 13y ago
Excellent, thank you. Those also compile differently for me, so it probably appeared in a newer version of gcc.
- throwaway_yy2Di 13y agoIt's an optimization, it shows up at -O2.
- dkersten 13y agoWhy put the if in at all then? Regardless of optimisation, it will never be followed - it segfaults if NULL and returns normally if not.
- deleted 13y ago[deleted]