On Wed, Oct 16, 2013 at 6:42 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > On 10/17/2013 12:39 AM, Tim Shen wrote: >> >> On Wed, Oct 16, 2013 at 6:33 PM, Paolo Carlini <paolo.carl...@oracle.com> >> wrote: >>> >>> By the way, please feel free to prepare a reduced testcase for the >>> -fsanitize people (Marek, Jakub?) >> >> Here it is. >> >> And we should get undefined behaviors before this commit(r203732). > > To be honest, I was thinking something much smaller than the whole <regex> > ;) But let's add Marek in CC.
int work() { } int main() { int a = work(); return a; } /* This is a smaller case to test the sanitizer. It seems that the undefined sanitizer is not merged? I use `g++ (GCC) 4.9.0 20131003`, is that too old? */ -- Tim Shen