// { dg-do compile }// { dg-options "-O2" }// This caused a crash in VRP because TREE_OVERFLOW was set for MIN.template<longlongMIN>longlongmod(longlongl,longlongr){if(l==MIN&&r==-1)return0LL;returnl%r;}templatelonglongmod<-0x8000000000000000LL>(longlong,longlong);