add gcc re-order and barrier example

Signed-off-by: Barry Song <21cnbao@gmail.com>