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

            Bug ID: 106974
           Summary: g++ bug caused by r260621
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: duan.db at linux dot alibaba.com
  Target Milestone: ---

hi, I found a g++ bug.

code is shown as below:
https://godbolt.org/z/5Ex564eGE

It works fine on GCC 8, but will Segmentation fault on GCC9, GCC10...
By using bisect, I found the commit which causing this problem.

https://gcc.gnu.org/git/?p=gcc.git&a=commit;h=955da5e5443724cb59f8fbd854c13e78c68bf000

But I'm not familiar with this part of GCC, hope to get your help, thanks.

Reply via email to