added gvar-const case