https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68331
--- Comment #12 from vries at gcc dot gnu.org --- (In reply to David Abdurachmanov from comment #10) > I have been reg-testing GCC 6 for the last few weeks and I hit an issue with > compile code straggly segfaulting. > > Compiler with GCC 5.3.0, ASan and valgrind shows no issues. Compiled with > GCC 6.0.1, ASan and valgrind shows issues, program segfaults. If I go below > -O2, the execution at least does not segfault. Developers so far couldn't > understand whats happening. No issues if compiled with latest Clang or ICC. > > I am trying to understand if this is a potential GCC bug and it's worth > filling another BZ ticket. I am trying to reg-test as much as I can before > GCC 6.1.0 is cut. What are your thoughts? Thanks for your bisect effort and analysis. Please file a bugzilla ticket, and include the testcase.