https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #1 from Dmitry Babokin <babokin at gmail dot com> ---
Created attachment 42256
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42256&action=edit
original test case

I'm also attaching original test case, just in case. For the bug to reproduce
it's important to compile with -std=c++11 switch.

> g++ -std=c++11 -fsanitize=undefined -fno-sanitize-recover=undefined -w -O2 
> func.cpp driver.cpp -o out
> ./out
func.cpp:2448:96: runtime error: pointer index expression with base
0x00000063a3a0 overflowed to 0x00000063a3b8

Reply via email to