reordered gcc hardening warning