Add a simple utility function for GCN.

This should be called by both the preprocessor and any other uses of
GCN.