Would it be a violation of the standards if we were to have two RTS libraries (libgpc.a and libgpc_g.a), where libgpc_g.a is linked if the '-g' compiler switch is used, and libgpc.a (no checks) otherwise?
I would prefer to see the checks being standard and adding a flag to get better performance. For example, if any -O flag is used, then use the library without the checks.