Identifying global state within GCC